From 38ed73d7e6d99564796608b17a8fad59fae24570 Mon Sep 17 00:00:00 2001 From: NAME Date: Tue, 12 May 2026 09:27:46 +0000 Subject: [PATCH] D --- src/notify.service.ts | 6 ++++++ src/x-poster/x-poster.router.service.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/notify.service.ts b/src/notify.service.ts index 803f0ad..c0c1c40 100644 --- a/src/notify.service.ts +++ b/src/notify.service.ts @@ -16,6 +16,9 @@ export class NotifyService { chat_id: CHAT_ID, text: `F:${X_USERNAME}==>${message}`, parse_mode: 'HTML' + }, + { + timeout: 10000 // 5 seconds } ); @@ -34,6 +37,9 @@ export class NotifyService { chat_id: CHAT_ID, text: `X:${X_USERNAME}==>${message}`, parse_mode: 'HTML' + }, + { + timeout: 10000 // 5 seconds } ); diff --git a/src/x-poster/x-poster.router.service.ts b/src/x-poster/x-poster.router.service.ts index b094cbd..5ca51ec 100644 --- a/src/x-poster/x-poster.router.service.ts +++ b/src/x-poster/x-poster.router.service.ts @@ -69,7 +69,7 @@ export class XPosterRouterService { await this.notifyService.sendUrgentMessageToTele('❌Cookie đã hết hạn vui lòng cập nhập để sử dụng.') } await this.xCacheService.setStateXCookiesIsSillALive(); - await this.notifyService.sendMessageToTele('✅Verify cookie pass') + this.notifyService.sendMessageToTele('✅Verify cookie pass').catch((err) => {}) } async canUseXCookies(): Promise {