perf: eliminates a delay in message delivery between phone→app + cache device-list

perf: eliminates a delay in message delivery between phone→app + cache device-list
This commit is contained in:
Renato Alcara
2026-02-24 07:40:18 -03:00
committed by GitHub
parent d34d3d8791
commit f906eca124
4 changed files with 52 additions and 7 deletions
+2 -2
View File
@@ -62,10 +62,10 @@ export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
browser: Browsers.macOS('Chrome'),
waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat',
connectTimeoutMs: 20_000,
keepAliveIntervalMs: 30_000,
keepAliveIntervalMs: 15_000,
logger: logger.child({ class: 'baileys' }),
emitOwnEvents: true,
defaultQueryTimeoutMs: 60_000,
defaultQueryTimeoutMs: 30_000,
customUploadHosts: [],
retryRequestDelayMs: 250,
maxMsgRetryCount: 5,