Skip to content

Commit 07ce121

Browse files
authored
Merge pull request #8507 from fstagni/fix_remove_mysql_reconnect
fix: remove MySQL ping reconnect
2 parents 3f39fa7 + 07b3221 commit 07ce121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)