mirror of https://gitlab.com/bashrc2/epicyon
Slower inbox checking
parent
56ff9b6f39
commit
e0ab020773
4
inbox.py
4
inbox.py
|
@ -1704,10 +1704,10 @@ def runInboxQueue(projectVersion: str, \
|
||||||
queueRestoreCtr=0
|
queueRestoreCtr=0
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
time.sleep(1)
|
time.sleep(5)
|
||||||
|
|
||||||
# heartbeat to monitor whether the inbox queue is running
|
# heartbeat to monitor whether the inbox queue is running
|
||||||
heartBeatCtr+=1
|
heartBeatCtr+=5
|
||||||
if heartBeatCtr>=10:
|
if heartBeatCtr>=10:
|
||||||
print('>>> Heartbeat Q:{:d} {:%F %T}'.format(len(queue), datetime.datetime.now()))
|
print('>>> Heartbeat Q:{:d} {:%F %T}'.format(len(queue), datetime.datetime.now()))
|
||||||
heartBeatCtr=0
|
heartBeatCtr=0
|
||||||
|
|
Loading…
Reference in New Issue