hosts: increase delay between coordinated reboots

This commit is contained in:
Max Headroom 2023-07-23 13:57:25 +02:00
parent dad5c855c7
commit bfc825b73f

View file

@ -29,7 +29,7 @@ in
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
lastScheduledTime=$((currentTime - 300)) lastScheduledTime=$((currentTime - 300))
fi fi
nextScheduledTime=$((lastScheduledTime + 900)) nextScheduledTime=$((lastScheduledTime + 3600))
if [[ $nextScheduledTime -lt $((currentTime + 300)) ]]; then if [[ $nextScheduledTime -lt $((currentTime + 300)) ]]; then
nextScheduledTime=$((currentTime + 300)) nextScheduledTime=$((currentTime + 300))
fi fi