Slower inbox checking

merge-requests/6/head
Bob Mottram 2019-11-15 10:39:47 +00:00
parent 56ff9b6f39
commit e0ab020773
1 changed files with 2 additions and 2 deletions

View File

@ -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