Skip to content

Align --retries default with --help and manual pages#755

Merged
zakird merged 5 commits intomainfrom
phillip/set-default-retries
Dec 14, 2023
Merged

Align --retries default with --help and manual pages#755
zakird merged 5 commits intomainfrom
phillip/set-default-retries

Conversation

@phillip-stephens
Copy link
Contributor

@phillip-stephens phillip-stephens commented Dec 14, 2023

  • aligned the --help text and true default for --retries.
  • alphabetized the state file fields to make it easier to find a field

@phillip-stephens phillip-stephens marked this pull request as ready for review December 14, 2023 00:42
@zakird
Copy link
Member

zakird commented Dec 14, 2023

These should obviously match. I wonder though whether we want to change the default behavior, or if we want to have the help text match the behavior.

@phillip-stephens
Copy link
Contributor Author

Yeah, I thought about that. Figured I'd issue the PR and we can discuss here. My impression is that packets failing to send would be a relatively rare event and making the default --retries = 0 would be acceptable. The user should get a message informing them of any send failures and they can adjust if required.

If you don't have any objections, I can modify the PR to do this.

@zakird zakird merged commit 02e2f03 into main Dec 14, 2023
@zakird zakird deleted the phillip/set-default-retries branch December 14, 2023 22:29
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.

2 participants