fixed CQ for src.class_singleWorker module

This commit is contained in:
navjot 2020-10-12 23:17:05 +05:30
parent 30044f7516
commit a7c1018f47
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C

View File

@ -1298,7 +1298,7 @@ class singleWorker(StoppableThread):
newStatus = 'msgsent'
# wait 10% past expiration
sleepTill = int(time.time() + TTL * 1.1)
au = sqlExecute(
sqlExecute(
'''UPDATE sent SET msgid=?, status=?, retrynumber=?, '''
''' sleeptill=?, lastactiontime=? WHERE ackdata=? AND folder='sent' ''',
inventoryHash, newStatus, retryNumber + 1,