File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cubejs-query-orchestrator/src/orchestrator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ export class PreAggregations {
498498 maxPartitions : this . options . maxPartitions ,
499499 maxSourceRowLimit : this . options . maxSourceRowLimit ,
500500 isJob : queryBody . isJob ,
501- waitForRenew : queryBody . renewQuery ,
501+ waitForRenew : queryBody . cache === 'must-revalidate' ,
502502 // TODO workaround to avoid continuous waiting on building pre-aggregation dependencies
503503 forceBuild : i === preAggregations . length - 1 ? queryBody . forceBuildPreAggregations : false ,
504504 requestId : queryBody . requestId ,
@@ -603,7 +603,7 @@ export class PreAggregations {
603603 {
604604 maxPartitions : this . options . maxPartitions ,
605605 maxSourceRowLimit : this . options . maxSourceRowLimit ,
606- waitForRenew : queryBody . renewQuery ,
606+ waitForRenew : queryBody . cache === 'must-revalidate' ,
607607 requestId : queryBody . requestId ,
608608 externalRefresh : this . externalRefresh ,
609609 compilerCacheFn : queryBody . compilerCacheFn ,
You can’t perform that action at this time.
0 commit comments