fix timeout wait to verify code

This commit is contained in:
Admin 2025-08-25 09:24:29 +07:00
parent aeebe9a43d
commit 85f252cac7
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ export class LangtonsApiBid extends ApiBid {
global.socket.off(`verify-code.${this.origin_url}`); // Xóa listener tránh rò rỉ bộ nhớ
rej(
new Error(
`[${this.id}] Timeout: No verification code received within 1 minute.`
`[${this.id}] Timeout: No verification code received within 3 minute.`
)
);
}, 120 * 1000); // 120 giây
}, 180 * 1000); // 180 giây
global.socket.on(`verify-code.${this.origin_url}`, async (data) => {
console.log(`📢 [${this.id}] VERIFY CODE:`, data);