Тюнинг таймаутов
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user