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

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) { async wsQuery(query) {
const response = await this.wsc.message( const response = await this.wsc.message(
await this.wsc.send(Object.assign({accessToken: this.accessToken}, query), 30), await this.wsc.send(Object.assign({accessToken: this.accessToken}, query), 600),
300 600
); );
if (response.error) if (response.error)
throw new Error(response.error); throw new Error(response.error);