Skip to content

Commit cf65122

Browse files
committed
fix: timeout 600 sec for requests /viewer/json/query
1 parent c4269fc commit cf65122

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/api.js

+3
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,23 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
153153
database,
154154
action,
155155
stats,
156+
timeout: 600000,
156157
});
157158
}
158159
getExplainQuery(query, database) {
159160
return this.post(this.getPath('/viewer/json/query'), {
160161
query,
161162
database,
162163
action: 'explain',
164+
timeout: 600000,
163165
});
164166
}
165167
getExplainQueryAst(query, database) {
166168
return this.post(this.getPath('/viewer/json/query'), {
167169
query,
168170
database,
169171
action: 'explain-ast',
172+
timeout: 600000,
170173
});
171174
}
172175
getHotKeys(path, enableSampling) {

0 commit comments

Comments
 (0)