Skip to content

Commit 06010bb

Browse files
committed
fix: update qrMaxRetries in SessionManager for improved session handling
- Changed qrMaxRetries from 0 to 1 to allow a single retry attempt after 60 seconds for QR code scanning.
1 parent 3539d7f commit 06010bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SessionManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class SessionManager extends EventEmitter {
6262
headless: true,
6363
args: ['--no-sandbox', '--disable-setuid-sandbox'],
6464
},
65-
qrMaxRetries: 0, // Important: No auto-refresh for HTTP
65+
qrMaxRetries: 1, // Important: Only 1 attempt after 60s
6666
});
6767

6868
session.client = client;

0 commit comments

Comments
 (0)