This commit is contained in:
retoor 2026-03-14 20:00:26 +01:00
parent bb89ddf6d8
commit ba92318497
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -24,7 +24,7 @@ export class Socket extends EventHandler {
_maxReconnectAttempts = 50;
_reconnectDelay = 4000;
_pendingCalls = new Map();
_callTimeout = 30000;
_callTimeout = 300000;
_isDestroyed = false;
get isConnected() {