Skip to content
← Back to activity

Public problem

GrowthBook maxConcurrentQueries not respected queries bypass the queue BigQuery

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

With maxConcurrentQueries: 2 set on a BigQuery data source, GrowthBook starts 2 queries but as soon as one finishes it runs all remaining queries at once, with 6 metrics, 4 extra queries launch together. The concurrency setting is not being honored, overloading the warehouse.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

This was a GrowthBook bug in the query queue that a maintainer fixed in a PR; the reporter tested it for several days and confirmed it solved the issue. Upgrade GrowthBook to a version containing that fix. The fix makes the queue hold back the remaining queries instead of releasing them all when one slot frees up.

Source: https://github.com/growthbook/growthbook/issues/3291

Source: https://github.com/growthbook/growthbook/issues/3291