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

Make lock timeout configurable #974

Open
Shnatsel opened this issue Aug 30, 2023 · 0 comments
Open

Make lock timeout configurable #974

Shnatsel opened this issue Aug 30, 2023 · 0 comments
Labels
cargo-audit crate Issues relating to the `cargo-audit` crate enhancement

Comments

@Shnatsel
Copy link
Member

cargo audit currently hardcodes how long it will wait to acquire a filesystem lock:

// TODO: make configurable
const DEFAULT_LOCK_TIMEOUT: Duration = Duration::from_secs(5 * 60);

It would be nice to make it configurable through the configuration file and/or the command-line arguments.

@Shnatsel Shnatsel added enhancement cargo-audit crate Issues relating to the `cargo-audit` crate labels Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cargo-audit crate Issues relating to the `cargo-audit` crate enhancement
Projects
None yet
Development

No branches or pull requests

1 participant