diff --git a/db_module/db.py b/db_module/db.py index c4cae60..fc5f9a5 100644 --- a/db_module/db.py +++ b/db_module/db.py @@ -148,7 +148,7 @@ def _pool_healthcheck(): conn = pool.get_connection() conn.ping(reconnect=True, attempts=3, delay=1) conn.close() - logger.debug(f"[MySQL] Pool healthcheck succeeded") + logger.debug("[MySQL] Pool healthcheck succeeded") except Error as e: logger.warning(f"[MySQL] Pool healthcheck failed: {e}") create_connection_pool()