This commit is contained in:
NAME
2026-05-12 09:04:52 +00:00
parent f62a71aede
commit 8a7df08b6a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export class SqsPosterWorker {
await this.notifyService.sendMessageToTele(`🚀 Worker started for ${await this.sqs.getQueueName()}`)
//check cookie
this.xRouterService.verifyCookie();
await this.xRouterService.verifyCookie();
let ReceiptHandle = '';
while (true) {
+2 -2
View File
@@ -66,10 +66,10 @@ export class XPosterRouterService {
const isAlive = await this.browserSvc.verifyCookie();
if (!isAlive) {
await this.xCacheService.setStateXCookiesIsDie();
await this.notifyService.sendUrgentMessageToTele('Cookie đã hết hạn vui lòng cập nhập để sử dụng.')
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')
await this.notifyService.sendMessageToTele('Verify cookie pass')
}
async canUseXCookies(): Promise<boolean> {