eris

- Elasticsearch Recon Ingestion Scripts (ERIS) 🔎
git clone git://git.acid.vegas/-c.git
Log | Files | Refs | Archive | README | LICENSE

commit 6bb0d4eeefcd3c3665fc14df580f0ccbbf95375b
parent 67c7e639a97bf724ce5b4c0c48eca2aabdbf4a4e
Author: acidvegas <acid.vegas@acid.vegas>
Date: Tue, 12 Mar 2024 00:44:17 -0400

Lowered reconnect time on certstream timeout

Diffstat:
Mingestors/ingest_certstream.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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})')