From 5e7a6b583983976fc67c3f6a013274347d183308 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 23 Apr 2014 01:10:16 +0100 Subject: [PATCH] offlineimap: wait twice as long to download mails one mail wouldn't download because it was a tiny bit to large and the monitor timed out before it was done. --- bin/offlineimap.cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/offlineimap.cron b/bin/offlineimap.cron index 3c26e5f..2ce6585 100755 --- a/bin/offlineimap.cron +++ b/bin/offlineimap.cron @@ -5,7 +5,7 @@ monitor() { local pid=$1 i=0 while ps $pid &>/dev/null; do - if (( i++ > 5)); then + if (( i++ > 10)); then echo "Max checks reached. Sending SIGKILL to ${pid}..." >&2 kill -9 $pid; return 1 fi -- 2.48.1