-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Increase default timeout of remote Executable requests #15587
Conversation
I see you updated files related to
|
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
b89c452
to
07a693e
Compare
core/capabilities/launcher.go
Outdated
@@ -398,7 +398,8 @@ func (w *launcher) addToRegistryAndSetDispatcher(ctx context.Context, capability | |||
} | |||
|
|||
var ( | |||
defaultTargetRequestTimeout = time.Minute | |||
// TODO: make this configurable | |||
defaultTargetRequestTimeout = 10 * time.Minute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this mean?
if we are writing reports on aptos at up to once every 5 seconds, how can there be a 10 minute timeout in system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added PR description
07a693e
to
ff4ac07
Compare
ff4ac07
to
fc546f0
Compare
…anch Increase default timeout of remote Executable requests (#15587)
Remote Target executions are based on deltaStage parameter specified in the workflow spec.
Target capability nodes (e.g. chain writers) are invoked one-by-one with deltaStage seconds between invocations.
This timeout is the maximum total time all target invocations can take.
For example, with the old one minute setting, and a workflow using deltaStage=45sec, the invocations will look as follows:
Workflow Engine requires F+1 target executions to complete successfully. When F=5, and timeout set to 1 min, it never has a chance to do so.
Bumping to a larger value, which is closer to max workflow execution time (10 mins). Should give us plenty of headroom for DONs with F=5 and deltaStage up to 1 min.