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

Add option to configure cooldown time #16

Open
christopher-drews opened this issue Apr 4, 2022 · 0 comments
Open

Add option to configure cooldown time #16

christopher-drews opened this issue Apr 4, 2022 · 0 comments

Comments

@christopher-drews
Copy link

christopher-drews commented Apr 4, 2022

In order to avoid repeated restarts during automated tests, please add a possibility to configure the cooldown time.
As of now this is only relevant for test scenarios therefore a global setting could be sufficient.

Suggestion:
in scaler/mod.rs:

//const COOLDOWN_PERIOD_SECONDS: u64 = 60;
const COOLDOWN_PERIOD_SECONDS: u64 = env_var!(optional "COOLDOWN_PERIOD_SECONDS",default: "60").parse::<u64>().expect("Parsing env var COOLDOWN_PERIOD_SECONDS");
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

No branches or pull requests

1 participant