Update
This commit is contained in:
parent
bb89ddf6d8
commit
ba92318497
@ -70,7 +70,7 @@ class SocketService(BaseService):
|
||||
self.subscribed_channels.clear()
|
||||
try:
|
||||
if self.ws and not self.ws.closed:
|
||||
await asyncio.wait_for(self.ws.close(), timeout=5.0)
|
||||
await asyncio.wait_for(self.ws.close(), timeout=300.0)
|
||||
except asyncio.TimeoutError:
|
||||
logger.debug("Socket close timed out")
|
||||
except Exception as ex:
|
||||
|
||||
@ -24,7 +24,7 @@ export class Socket extends EventHandler {
|
||||
_maxReconnectAttempts = 50;
|
||||
_reconnectDelay = 4000;
|
||||
_pendingCalls = new Map();
|
||||
_callTimeout = 30000;
|
||||
_callTimeout = 300000;
|
||||
_isDestroyed = false;
|
||||
|
||||
get isConnected() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user