skunk
skunk copied to clipboard
Userland Timeout
BufferedMessageSocket
needs a userland timeout for message dequeueing that can handle cases where the server remains alive but becomes unresponsive. The underlying socket read can't be allowed to time out because it needs to be able to receive asynchronous messages even when the session is otherwise idle.
Note that this is distinct from the query timeout parameter, which is handled in the server.