Timeout generation of e-r graphs
Add a four hour timeout to the generation of e-r graphs as these scripts occasiaonlly run for days without exiting. We'd rather fail then try again later to ensure the graphs are mostly up to date. Change-Id: I7ee1c94c41edb9d6b5aeedebac64aeded1cf0e97
This commit is contained in:
parent
9229117aba
commit
014bc3b72e
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
flock -w 3600 /var/lib/elastic-recheck/er_safe_run.lock $@
|
||||
# Timeout after 4 hours as we've seen this script occasionally fail to
|
||||
# exit after running for days.
|
||||
flock -w 3600 timeout -k 60 14400 /var/lib/elastic-recheck/er_safe_run.lock $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user