Lowered reconnect time on certstream timeout
This commit is contained in:
parent
67c7e639a9
commit
6bb0d4eeef
@ -72,7 +72,7 @@ async def process_data(place_holder: str = None):
|
|||||||
|
|
||||||
except websockets.ConnectionClosed:
|
except websockets.ConnectionClosed:
|
||||||
logging.error('Connection to Certstream was closed. Attempting to reconnect...')
|
logging.error('Connection to Certstream was closed. Attempting to reconnect...')
|
||||||
await asyncio.sleep(15)
|
await asyncio.sleep(3)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f'An error occurred while processing Certstream records! ({e})')
|
logging.error(f'An error occurred while processing Certstream records! ({e})')
|
||||||
|
Loading…
Reference in New Issue
Block a user