Skip to content
Discussion options

You must be logged in to vote

Client connections are closed in only a few scenarios:

  1. The node is shutting down (or a plugin is)
  2. A user was deleted
  3. A connection was intentionally closed by a human operator using CLI tools or the HTTP API
  4. A client operation has resulted in an unrecoverable protocol error (e.g. you try to open a channel with an ID that's already allocated for another channel)

I don't think it makes any practical difference in either of those cases but the answer is "yes, it does, with a timeout".

With multiple timeouts, in fact, the heartbeat mechanism also acts as a timeout during a portion of the shutdown, plus a hard cap of 30 seconds (the ?CLOSING_TIMEOUT value).

Multiple connections are terminated…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants