Compare commits

...

3 Commits

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ớ global.socket.off(`verify-code.${this.origin_url}`); // Xóa listener tránh rò rỉ bộ nhớ
rej( rej(
new Error( 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) => { global.socket.on(`verify-code.${this.origin_url}`, async (data) => {
console.log(`📢 [${this.id}] VERIFY CODE:`, data); console.log(`📢 [${this.id}] VERIFY CODE:`, data);