-
Notifications
You must be signed in to change notification settings - Fork 4
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 Retry Options due to Intermittent Network #325
Conversation
@joshuakarp do you have any comments about this? What would be the usecase of these retry options? |
Remember, that sometimes retry can be done by the end user as well. They can do things like Note that Also this PR currently has the incorrect short parameters in the tests. Always use the long parameters when testing or scripting CLI calls. |
ce23508
to
5aa82d0
Compare
2397f24
to
cc06837
Compare
89fc5ac
to
ff2827c
Compare
17adca0
to
0f03127
Compare
23f2b27
to
08f6c00
Compare
This requires re-review due to big changes in our nodes ping and connection logic in #326. |
So primarily the idea here is that one could do this for a few commands where it supports it. The At the same time, one must define what it means to retry something. What exceptions are considered retryable... maybe it depends on the command itself. It's not exactly generic. At any case if this is needed, this needs to rebased and redone due to big changes in PK. |
Closed because work is done on Polykey-CLI now. |
New issue tracking this MatrixAI/Polykey-CLI#16 |
Description
This introduces retry options to
CommandFind
andCommandPing
.This was extracted out of #266 because it wasn't related to vaults functionality.
Still trying to find what the reason for these options are for, and perhaps this should be considered in light of the CLI over-all design.
Issues Fixed
Tasks
Final checklist