mirror of
https://github.com/crystelf/crystelf-admin.git
synced 2026-01-29 06:37:26 +00:00
🔧 fix(lib/login/napcat): increase QR update timeout from 30s to 90s for better handling of delays
This commit is contained in:
parent
a8eef3e21b
commit
b08e83bc18
@ -65,7 +65,7 @@ export default class NapcatService {
|
|||||||
* @param timeout
|
* @param timeout
|
||||||
* @returns {Promise<unknown>}
|
* @returns {Promise<unknown>}
|
||||||
*/
|
*/
|
||||||
async waitForQrUpdate(timeout = 30000) {
|
async waitForQrUpdate(timeout = 90000) {
|
||||||
if (!fs.existsSync(this.qrPath)) {
|
if (!fs.existsSync(this.qrPath)) {
|
||||||
return 'none';
|
return 'none';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user