tangled
alpha
login
or
join now
edavis.dev
/
bsky-tools
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Add ping_timeout
Eric Davis
2 years ago
b451d92b
9d24780c
+1
-1
1 changed file
expand all
collapse all
unified
split
bsky-activity.py
+1
-1
bsky-activity.py
···
37
37
sys.stdout.write(f'opening websocket connection to {relay_url}\n')
38
38
sys.stdout.flush()
39
39
40
40
-
async with websockets.connect(relay_url, ping_timeout=None) as firehose:
40
40
+
async with websockets.connect(relay_url) as firehose:
41
41
while True:
42
42
frame = BytesIO(await firehose.recv())
43
43
header = dag_cbor.decode(frame, allow_concat=True)