this repo has no description

Add ping_timeout

Changed files
+1 -1
+1 -1
bsky-activity.py
···
sys.stdout.write(f'opening websocket connection to {relay_url}\n')
sys.stdout.flush()
-
async with websockets.connect(relay_url, ping_timeout=None) as firehose:
+
async with websockets.connect(relay_url) as firehose:
while True:
frame = BytesIO(await firehose.recv())
header = dag_cbor.decode(frame, allow_concat=True)