From 07b3221a6d981e2b890219dba5f8253800e77b14 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Fri, 10 Apr 2026 17:20:34 +0200 Subject: [PATCH] fix: remove MySQL reconnect --- src/DIRAC/Core/Utilities/MySQL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/Core/Utilities/MySQL.py b/src/DIRAC/Core/Utilities/MySQL.py index 823bac69b15..323249bba16 100755 --- a/src/DIRAC/Core/Utilities/MySQL.py +++ b/src/DIRAC/Core/Utilities/MySQL.py @@ -401,7 +401,7 @@ def __getWithRetry(self, dbName, totalRetries, retriesLeft): def __ping(self, conn): try: - conn.ping(True) + conn.ping() return True except Exception: return False