incorrect interval fix

This commit is contained in:
Adhiraj
2020-09-27 14:08:33 +05:30
parent 3a878ae193
commit 5634a7a2c4
2 changed files with 73 additions and 33 deletions

View File

@@ -42,8 +42,8 @@ export class WAConnection extends EventEmitter {
/** The connection state */
state: WAConnectionState = 'close'
connectOptions: WAConnectOptions = {
regenerateQRIntervalMs: 30_1000,
maxIdleTimeMs: 15_1000,
regenerateQRIntervalMs: 30_000,
maxIdleTimeMs: 15_000,
waitOnlyForLastMessage: false,
waitForChats: true,
maxRetries: 5,