[Watchdog] Increase threshold for cert check

master
andryyy 2020-09-27 11:34:00 +02:00
parent bcad1af121
commit 172562fc29
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ dovecot_repl_checks() {
cert_checks() {
err_count=0
diff_c=0
THRESHOLD=1
THRESHOLD=7
# Reduce error count by 2 after restarting an unhealthy container
trap "[ ${err_count} -gt 1 ] && err_count=$(( ${err_count} - 2 ))" USR1
while [ ${err_count} -lt ${THRESHOLD} ]; do