Skip to content

Commit 07b3221

Browse files
committed
fix: remove MySQL reconnect
1 parent e650d1e commit 07b3221

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DIRAC/Core/Utilities/MySQL.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def __getWithRetry(self, dbName, totalRetries, retriesLeft):
401401

402402
def __ping(self, conn):
403403
try:
404-
conn.ping(True)
404+
conn.ping()
405405
return True
406406
except Exception:
407407
return False

0 commit comments

Comments
 (0)