Skip to content

Commit

Permalink
Modify comment to reflect MultiSubscription
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestKz committed Jan 12, 2024
1 parent 5f67121 commit ad913a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ handleClient conn core = do
handleSubscriptionTimeout :: SubscriptionTimeout -> IO ()
handleSubscriptionTimeout _ = pure ()

-- Put the client in the subscription tree and keep the connection open.
-- Remove it when the connection is closed.
-- Run the threads to popagate updates to client, and to receive and handle payloads
-- Upon disonnect, unsubscribe client from all subscriptions
Exception.finally
(onConnect client >> manageConnection)
(onDisconnect client)
Expand Down

0 comments on commit ad913a1

Please sign in to comment.