mirror of https://gitlab.com/bashrc2/epicyon
datetime
parent
ac895d6c90
commit
86359ba91a
2
inbox.py
2
inbox.py
|
@ -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 Q:'+str(len(queue))+' '+datetime.now().strftime("%m/%d/%Y, %H:%M:%S"))
|
print('>>> Heartbeat Q:'+str(len(queue))+' '+datetime.datetime.now().strftime("%m/%d/%Y, %H:%M:%S"))
|
||||||
heartBeatCtr=0
|
heartBeatCtr=0
|
||||||
|
|
||||||
if len(queue)>0:
|
if len(queue)>0:
|
||||||
|
|
Loading…
Reference in New Issue