Skip to content

Commit

Permalink
Add a timeout to kill topology_cacher if it gets wedged
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Mar 17, 2022
1 parent 85fbd0f commit 473adba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topology-cacher.cron
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHELL=/bin/bash
0,15,30,45 * * * * root sleep $(( $RANDOM \% 180 )) && /usr/bin/python3 -m topology_cacher
0,15,30,45 * * * * root sleep $(( $RANDOM \% 180 )) && /usr/bin/timeout -s KILL 600 /usr/bin/python3 -m topology_cacher

0 comments on commit 473adba

Please sign in to comment.