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

Just run if state file is not possible #382

Closed
wants to merge 1 commit into from
Closed

Just run if state file is not possible #382

wants to merge 1 commit into from

Conversation

sanderjo
Copy link

@sanderjo sanderjo commented Jul 31, 2022

Closes #381

Typical use case: use axel as a speed test tool, writing to /dev/null

@lgtm-com
Copy link

lgtm-com bot commented Jul 31, 2022

This pull request introduces 1 alert when merging 62d848e into ab2f846 - view on LGTM.com

new alerts:

  • 1 for Time-of-check time-of-use filesystem race condition

@ismaell
Copy link
Member

ismaell commented Aug 12, 2022

Maybe with a flag to ignore the error this is acceptable, otherwise no; it could mask a legitimate error and there's no way of knowing the state of the download.

@sanderjo
Copy link
Author

sanderjo commented Aug 16, 2022

Maybe with a flag to ignore the error this is acceptable,

Which flag name would you suggest?

  • no_state_allowed
  • no_state_needed
  • ignore_state
  • ignore_state_error
  • ...

@ismaell
Copy link
Member

ismaell commented Oct 28, 2022

Which flag name would you suggest?

Maybe --ephemeral-state, meaning the state will not be saved, and just not try to create it at all.

@sanderjo sanderjo closed this by deleting the head repository Jul 28, 2023
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.

Feature Request (with PR): just run axel if state file is not possible (when writing real file to /dev/null)
2 participants