Тюнинг таймаутов

This commit is contained in:
Book Pauk
2022-07-17 17:11:34 +07:00
parent 89082603de
commit 6ddb97d43e

View File

@@ -15,8 +15,8 @@ class RemoteStorage {
async wsQuery(query) {
const response = await this.wsc.message(
await this.wsc.send(Object.assign({accessToken: this.accessToken}, query), 30),
300
await this.wsc.send(Object.assign({accessToken: this.accessToken}, query), 600),
600
);
if (response.error)
throw new Error(response.error);