Skip to content
Snippets Groups Projects
Commit 2f7e8a18 authored by Adrian Schmutzler's avatar Adrian Schmutzler
Browse files

configurehood: Introduce random delays to dilute requests


Instead of having 1000 routers accessing the KeyXchange in the
same second, this will dilute the request within a period of
15 seconds.

Same is done for queries from gateways.

Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: default avatarRobert Langhammer <rlanghammer@web.de>
Reviewed-by: default avatarChristian Dresel <fff@chrisi01.de>
parent 14622e20
No related branches found
No related tags found
No related merge requests found
3-59/5 * * * * [ -f /tmp/started ] && /usr/sbin/configurehood 3-59/5 * * * * /bin/sleep $(/usr/bin/random 1 15); [ -f /tmp/started ] && /usr/sbin/configurehood
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment