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

Stateless cooldown system #94

Open
lemonsaurus opened this issue Jun 2, 2021 · 0 comments
Open

Stateless cooldown system #94

lemonsaurus opened this issue Jun 2, 2021 · 0 comments

Comments

@lemonsaurus
Copy link
Owner

Currently, we're creating a json file to store cooldown information, implemented in #83. This works very well for local setups, but it's not a good option for Kubernetes CronJobs because it requires persistence, and generally Blackbox will not be used that way. It will be destroyed after every run.

So how can we solve this without requiring persistent data to be stored locally? It's simple - we just store the json file in the storage that the user has configured, and fetch it again from the storage when we're starting up. I mean, everyone has storage, otherwise Blackbox doesn't work, so we can rely on that being available no matter what.

@lemonsaurus lemonsaurus added this to the v2.1.0 milestone Jun 7, 2021
@lemonsaurus lemonsaurus modified the milestones: v2.1.0, v2.2.0 Jun 30, 2021
@lemonsaurus lemonsaurus removed this from the v2.2.0 milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant