From a0e60fb1547f82fa42920973cb38dd30ed2d0113 Mon Sep 17 00:00:00 2001 From: Jason Reed Date: Wed, 6 May 2020 12:07:47 -0400 Subject: [PATCH] Don't paginate at all in experimental bqrs parsing codepath --- extensions/ql-vscode/src/interface.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/extensions/ql-vscode/src/interface.ts b/extensions/ql-vscode/src/interface.ts index 9081c51a9..a6c96ba9e 100644 --- a/extensions/ql-vscode/src/interface.ts +++ b/extensions/ql-vscode/src/interface.ts @@ -367,12 +367,9 @@ export class InterfaceManager extends DisposableObject { if (EXPERIMENTAL_BQRS_SETTING.getValue()) { resultSets = []; - // Setting pageSize very large for now for the sake of - // performance testing of vscode on containers. - const pageSize = 1e20; - const schemas = await this.cliServer.bqrsInfo(results.query.resultsPaths.resultsPath, pageSize); + const schemas = await this.cliServer.bqrsInfo(results.query.resultsPaths.resultsPath); for (const schema of schemas["result-sets"]) { - const chunk = await this.cliServer.bqrsDecode(results.query.resultsPaths.resultsPath, schema.name, pageSize, 0) + const chunk = await this.cliServer.bqrsDecode(results.query.resultsPaths.resultsPath, schema.name); const adaptedSchema = adaptSchema(schema); const resultSet = adaptBqrs(adaptedSchema, chunk); resultSets.push(resultSet);