forked from freifunk-franken/firmware
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: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
parent
14622e20c2
commit
2f7e8a18d8
|
@ -1 +1 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue