forked from cylc/cylc-uiserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: configure default websocket ping interval
* Closes cylc#557 * Sends regular pings to websocket clients to ensure that the connection is still active and open at the other end. * This allows for earlier detection of client-side connection closing.
- Loading branch information
1 parent
b007b5f
commit 6087a20
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The UI Server is now configured to regularly ping active clients to ensure they | ||
are alive. This helps the server to detect closed connections sooner, it also | ||
ensures that open connections do not appear idle to proxy servers which are | ||
sometimes configured to kill websockets after a period of inactivity. | ||
You can override or modify this behaviour in your jupyter configuration using | ||
the `websocket_ping_interval` and `websocket_ping_timeout` configurations, see | ||
the Jupyter Server reference for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters