Skip to content

Commit

Permalink
use refreshWorkerConcurrency only for refresh workers
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jan 31, 2025
1 parent dee9e2e commit f285950
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cubejs-server-core/src/core/OptsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ export class OptsHandler {
basePath: '/cubejs-api',
dashboardAppPath: 'dashboard-app',
dashboardAppPort: 3000,
scheduledRefreshConcurrency: getEnv('scheduledRefreshQueriesPerAppId'),
scheduledRefreshConcurrency: getEnv('refreshWorkerMode')
? getEnv('refreshWorkerConcurrency')
: getEnv('scheduledRefreshQueriesPerAppId'),
scheduledRefreshBatchSize: getEnv('scheduledRefreshBatchSize'),
preAggregationsSchema:
getEnv('preAggregationsSchema') ||
Expand Down

0 comments on commit f285950

Please sign in to comment.