From a08066e2f917993d4c4f903d0dc9bc3ab5c86c93 Mon Sep 17 00:00:00 2001 From: Matt Van Horn Date: Sun, 26 Apr 2026 08:59:16 -0700 Subject: [PATCH] style: ruff format Redis heartbeat refresh in connectors route --- .../app/routes/search_source_connectors_routes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/surfsense_backend/app/routes/search_source_connectors_routes.py b/surfsense_backend/app/routes/search_source_connectors_routes.py index c10838ed6..9c93d4e42 100644 --- a/surfsense_backend/app/routes/search_source_connectors_routes.py +++ b/surfsense_backend/app/routes/search_source_connectors_routes.py @@ -103,9 +103,7 @@ async def _run_indexing_heartbeat_loop(notification_id: int) -> None: while True: await asyncio.sleep(HEARTBEAT_REFRESH_INTERVAL) try: - get_heartbeat_redis_client().setex( - key, HEARTBEAT_TTL_SECONDS, "alive" - ) + get_heartbeat_redis_client().setex(key, HEARTBEAT_TTL_SECONDS, "alive") except Exception as e: logger.warning( f"Failed to refresh Redis heartbeat for notification "