Change heartbeat date format

merge-requests/3/merge
Bob Mottram 2019-11-12 21:58:59 +00:00
parent a1002c125d
commit da4123b1ec
1 changed files with 1 additions and 1 deletions

View File

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