D
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user