Stateless cooldown system #94
Labels
area: notifiers
area: storage
level: intermediate
priority: critical
type: enhancement
Changes or improvements to existing features
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.
The text was updated successfully, but these errors were encountered: