increased timeout for tg provider
This commit is contained in:
parent
25790bc216
commit
53b9ce193d
@ -50,7 +50,7 @@ class TGProvider {
|
|||||||
this.checksMap.set(number, waitResponseTask);
|
this.checksMap.set(number, waitResponseTask);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
waitResponseTask.reject(Error('TG report timeout'));
|
waitResponseTask.reject(Error('TG report timeout'));
|
||||||
}, 10000);
|
}, 25000);
|
||||||
let { id, text } = await waitResponseTask.promise;
|
let { id, text } = await waitResponseTask.promise;
|
||||||
await this.tgClient.viewMessage(id, this.chat.id);
|
await this.tgClient.viewMessage(id, this.chat.id);
|
||||||
return this.parseReport(text);
|
return this.parseReport(text);
|
||||||
@ -78,4 +78,4 @@ class TGProvider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export { TGProvider };
|
export { TGProvider };
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user