Skip to content
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

CLI: Add --timeout option to all verdi daemon commands #5966

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Apr 14, 2023

Fixes #5637

The timeout is passed on to the DaemonClient and can be used to override the default that is defined through the daemon.timeout config option. This can be useful, for example, when the default timeout set in the configuration is low such that commands don't get stuck unnecessarily long. However, for certain commands, such as verdi daemon stop, it might make sense to give the client a bit more time to respond.

The timeout is passed on to the `DaemonClient` and can be used to
override the default that is defined through the `daemon.timeout`
config option. This can be useful, for example, when the default timeout
set in the configuration is low such that commands don't get stuck
unnecessarily long. However, for certain commands, such as `verdi daemon
stop`, it might make sense to give the client a bit more time to
respond.
Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks all good!

@sphuber sphuber merged commit 9de3f90 into aiidateam:main Apr 14, 2023
@sphuber sphuber deleted the feature/5637/cli-daemon-timeout branch April 14, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the timeouts of the DaemonClient configurable
2 participants