fix resubscribe timeout

This commit is contained in:
Dobromir Popov
2024-10-15 09:45:26 +03:00
parent 6bb3ec2317
commit c8fdbf3c61
2 changed files with 125 additions and 13 deletions

View File

@ -1140,7 +1140,7 @@ SOLANA_ENDPOINTS = [
# "wss://mainnet.rpcpool.com",
]
PING_INTERVAL = 30
SUBSCRIBE_INTERVAL = 1*60 # Resubscribe every 10 minutes
SUBSCRIBE_INTERVAL = 10*60 # Resubscribe every 10 minutes
# async def heartbeat(websocket):