From e0ab020773011b338487f24bd81e8e0f11e523a0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Nov 2019 10:39:47 +0000 Subject: [PATCH] Slower inbox checking --- inbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index f7afbb978..722a2ba53 100644 --- a/inbox.py +++ b/inbox.py @@ -1704,10 +1704,10 @@ def runInboxQueue(projectVersion: str, \ queueRestoreCtr=0 while True: - time.sleep(1) + time.sleep(5) # heartbeat to monitor whether the inbox queue is running - heartBeatCtr+=1 + heartBeatCtr+=5 if heartBeatCtr>=10: print('>>> Heartbeat Q:{:d} {:%F %T}'.format(len(queue), datetime.datetime.now())) heartBeatCtr=0