Skip to content

Commit 6214925

Browse files
committed
fix (AccountingDB): reset pending lock time when encountering an error
1 parent 7945616 commit 6214925

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DIRAC/AccountingSystem/DB/AccountingDB.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def loadPendingRecords(self):
217217
"[PENDING] Error when trying to get pending records",
218218
f"for {typeName} : {result['Message']}",
219219
)
220+
self.__doingPendingLockTime = 0
220221
return result
221222
self.log.info(f"[PENDING] Got {len(result['Value'])} pending records for type {typeName}")
222223
dbData = result["Value"]

0 commit comments

Comments
 (0)