-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comms timeout #4112
Comments
I guess we need a timeout for cylc commands executed by task jobs, to avoid hanging jobs unnecessarily. For user-run commands it doesn't matter so much. |
The issue is, it's not actually a "comms timeout" - should we rename it, to just "timeout"? Better check that there is a default timeout esp. for |
But ... it does apply only to commands that contact a scheduler. Decision: get rid of the option, replace it with a network timeout configured in global.cylc. PT30S default? Current default for messaging - PT30S. |
Current default for messaging - PT5S (note this is a round-trip timeout, i.e. the time between sending the request and receiving the response) cylc-flow/cylc/flow/network/client.py Line 112 in efdb002
|
Decision:
|
Note that the Cylc 7 |
Slight problem with the above decision... The new The alternative being to add a field to the contact file to allow the value to be passed through to remote platforms. Options:
BTW: We are currently doing (3) with a hardcoded default of |
IMO a hard coded timeout is fine, as well as simpler, so long as it is long enough to handle reasonable latencies. |
Discussed in VC 18/11/21. Decision remove this from rc1 and track use cases before proceeding with this issue. |
(Also from the VC: if we do come back to this, having to configure it on remote platforms is not unreasonable given the functionatlity it affects). |
The
--comms-timeout
option from Cylc7 is still present in Cylc8, however, it doesn't do quite what it says on the tin.It is now a global timeout, it is implemented in the Python layer, however:
Current implementation:
cylc-flow/cylc/flow/network/client.py
Lines 171 to 188 in 07c7f5c
Questions:
The text was updated successfully, but these errors were encountered: