mirror of
https://github.com/permissionlesstech/georelays.git
synced 2026-07-25 05:05:18 +00:00
fix workflow again
This commit is contained in:
@@ -128,7 +128,8 @@ class NostrRelayDiscovery:
|
|||||||
|
|
||||||
async with websockets.connect(
|
async with websockets.connect(
|
||||||
relay_url,
|
relay_url,
|
||||||
timeout=self.connection_timeout,
|
open_timeout=self.connection_timeout,
|
||||||
|
close_timeout=5,
|
||||||
max_size=2**20, # 1MB max message size
|
max_size=2**20, # 1MB max message size
|
||||||
ping_interval=None # Disable ping
|
ping_interval=None # Disable ping
|
||||||
) as websocket:
|
) as websocket:
|
||||||
@@ -205,7 +206,8 @@ class NostrRelayDiscovery:
|
|||||||
|
|
||||||
async with websockets.connect(
|
async with websockets.connect(
|
||||||
relay_url,
|
relay_url,
|
||||||
timeout=self.connection_timeout,
|
open_timeout=self.connection_timeout,
|
||||||
|
close_timeout=5,
|
||||||
max_size=2**20
|
max_size=2**20
|
||||||
) as websocket:
|
) as websocket:
|
||||||
# Request follow lists (kind 3 events)
|
# Request follow lists (kind 3 events)
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
websockets>=11.0.0
|
websockets>=12.0
|
||||||
|
|||||||
Reference in New Issue
Block a user