From 6bb0d4eeefcd3c3665fc14df580f0ccbbf95375b Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 12 Mar 2024 00:44:17 -0400 Subject: [PATCH] Lowered reconnect time on certstream timeout --- ingestors/ingest_certstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestors/ingest_certstream.py b/ingestors/ingest_certstream.py index 6435849..8ff8ebe 100644 --- a/ingestors/ingest_certstream.py +++ b/ingestors/ingest_certstream.py @@ -72,7 +72,7 @@ async def process_data(place_holder: str = None): except websockets.ConnectionClosed: logging.error('Connection to Certstream was closed. Attempting to reconnect...') - await asyncio.sleep(15) + await asyncio.sleep(3) except Exception as e: logging.error(f'An error occurred while processing Certstream records! ({e})')