Skip to content

Commit

Permalink
update run query
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelacruzb committed Sep 24, 2024
1 parent 1dfc364 commit 4dbfc9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clouds/bigquery/common/run-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BQ_PROJECT = process.env.BQ_PROJECT;
const client = new BigQuery({ projectId: `${BQ_PROJECT}` });

function runQuery (query) {
client.query(query, { timeoutMs : 120000 });
client.query(query, { timeoutMs : 150000 });
}

const query = process.argv[2];
Expand Down
2 changes: 1 addition & 1 deletion clouds/bigquery/common/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BQ_DATASET = process.env.BQ_DATASET;
const client = new BigQuery({ projectId: `${BQ_PROJECT}` });

async function runQuery (query, options) {
options = Object.assign({}, { timeoutMs : 120000 }, options);
options = Object.assign({}, { timeoutMs : 150000 }, options);
query = replaceBQPrefix(query);
const [rows] = await client.query(query, options);
return rows;
Expand Down

0 comments on commit 4dbfc9c

Please sign in to comment.