Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Jan 23, 2025
1 parent de2c7ce commit 48814d8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions benchmark/benchmarking-multiplexed-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ async function main(
numThreads,
numQueries
) {

multiplexedEnabled === 'true'
? (process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS = true)
: (process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS = false);
? (process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS = true)
: (process.env.GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS = false);

const {Spanner} = require('../build/src');
const spanner = new Spanner({
projectId,
Expand All @@ -51,7 +50,6 @@ async function main(
}

async function runQueries() {

const startTime = Date.now();

for (let i = 0; i < numQueries; i++) {
Expand Down

0 comments on commit 48814d8

Please sign in to comment.