fix: adjusted default keepAliveIntervalMs (#233)

Co-authored-by: sudomaaz <mohammad.maaz@lovebonito.com>
This commit is contained in:
Mohammad Maaz
2023-07-14 05:38:53 +05:30
committed by GitHub
parent 2c76713565
commit 0aaa0086f9

View File

@@ -54,7 +54,7 @@ export const DEFAULT_CONNECTION_CONFIG: SocketConfig = {
browser: Browsers.baileys('Chrome'),
waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat',
connectTimeoutMs: 20_000,
keepAliveIntervalMs: 15_000,
keepAliveIntervalMs: 30_000,
logger: logger.child({ class: 'baileys' }),
printQRInTerminal: false,
emitOwnEvents: true,