Utility for random delay start
There are several tools that communicates with Turris or other servers. It is practical to spread the startup time of these utilities a bit to prevent peak load on the servers.
Random delay (sleep) is used in several tools at the moment. It would be nice to prepare one common utility which would be used by our tools so this functionality would be unified and easy to use.
This utility can be used in
- Updater
- Netmetr
- HaaS(?)
- Server side backups
- Sentinel services
- Certgen/Proxy
- Firewall logs (Nikola)
- Survey