We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5f77b commit 0eaf24bCopy full SHA for 0eaf24b
packages/cubejs-api-gateway/src/query.js
@@ -336,17 +336,8 @@ const normalizeQuery = (query, persistent) => {
336
newLimit = query.limit;
337
}
338
339
- let cacheMode = query.cache;
340
- // Convert deprecated renewQuery option to new cache mode
341
- if (query.renewQuery && !query.cache) {
342
- cacheMode = 'must-revalidate';
343
- } else if (!query.renewQuery && !query.cache) {
344
- cacheMode = 'stale-if-slow';
345
- }
346
-
347
return {
348
...query,
349
- ...{ cache: cacheMode },
350
...(query.order ? { order: normalizeQueryOrder(query.order) } : {}),
351
limit: newLimit,
352
timezone,
0 commit comments