Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow user configurable agent timeout for crossbar disconnection (#337)
* Add crossbar-timeout to site args via add_arguments() * Delay reconnection check attempts in same manner as twisted reconnection * Define signal handlers on disconnect. This allows interrupting agents that are running with a crossbar-timeout of 0. * Fix help text in site config options * Add --crossbar-timeout to ocs-agent-cli * yield when calling _stop_all_running_sessions() As a result, yield also when calling _shutdown(). * Simplify 0 timeout logic * Add crossbar-timeout at host level in the SCF * Move signal handler definition to onConnect() * Document crossbar-timeout * Increase timeouts in tests Now that we're properly waiting for Agent shutdown it takes a bit longer. These times were sufficient when running tests locally. * Add additional note about how to disable timeout
- Loading branch information
1 parent
d75c972
commit 6117ef8
Showing
6 changed files
with
132 additions
and
36 deletions.
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
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
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
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