File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ export class ViewerAPI extends BaseYdbAPI {
387387 timeout ?: Timeout ;
388388 limit_rows ?: number ;
389389 output_chunk_max_size : number ;
390- concurrent_results : number ;
390+ concurrent_results ?: boolean ;
391391 } ,
392392 {
393393 concurrentId,
Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ interface QueryStats {
244244 endTime ?: string | number ;
245245}
246246
247- const DEFAULT_STREAM_CHUNK_SIZE = 2 ;
248- const DEFAULT_CONCURRENT_RESULTS = 1 ;
247+ const DEFAULT_STREAM_CHUNK_SIZE = 100 ;
248+ const DEFAULT_CONCURRENT_RESULTS = false ;
249249
250250export const queryApi = api . injectEndpoints ( {
251251 endpoints : ( build ) => ( {
@@ -282,7 +282,7 @@ export const queryApi = api.injectEndpoints({
282282 ? Number ( querySettings . timeout ) * 1000
283283 : undefined ,
284284 output_chunk_max_size : DEFAULT_STREAM_CHUNK_SIZE ,
285- concurrent_results : DEFAULT_CONCURRENT_RESULTS ,
285+ concurrent_results : DEFAULT_CONCURRENT_RESULTS || undefined ,
286286 } ,
287287 {
288288 signal,
You can’t perform that action at this time.
0 commit comments