Show queue length

master
Bob Mottram 2019-09-03 09:58:13 +01:00
parent 61da9d6af5
commit ac895d6c90
1 changed files with 1 additions and 1 deletions

View File

@ -1190,7 +1190,7 @@ def runInboxQueue(projectVersion: str, \
# heartbeat to monitor whether the inbox queue is running # heartbeat to monitor whether the inbox queue is running
heartBeatCtr+=1 heartBeatCtr+=1
if heartBeatCtr>=10: if heartBeatCtr>=10:
print('>>> Heartbeat '+datetime.now().strftime("%m/%d/%Y, %H:%M:%S")) print('>>> Heartbeat Q:'+str(len(queue))+' '+datetime.now().strftime("%m/%d/%Y, %H:%M:%S"))
heartBeatCtr=0 heartBeatCtr=0
if len(queue)>0: if len(queue)>0: