File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
packages/cubejs-query-orchestrator/src/orchestrator Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ export type PreAggTableToTempTable = [
104104export type CacheKey =
105105 | string
106106 | [
107- query : string | QueryTuple ,
108- options ?: string [ ]
109- ] ;
107+ query : string | QueryTuple ,
108+ options ?: string [ ]
109+ ] ;
110110
111111type CacheEntry = {
112112 time : number ;
@@ -177,6 +177,9 @@ export class QueryCache {
177177 if ( redisUrl && redisNamespace ) {
178178 this . redisCache = new RedisQueryCacheClient ( { url : redisUrl , namespace : redisNamespace , logger : this . logger } ) ;
179179 }
180+ else {
181+ this . logger ( 'Redis cache is disabled' , { redisUrl, redisNamespace } )
182+ }
180183 }
181184
182185 /**
@@ -686,7 +689,7 @@ export class QueryCache {
686689 /**
687690 * Returns registered queries queues hash table.
688691 */
689- public getQueues ( ) : { [ dataSource : string ] : QueryQueue } {
692+ public getQueues ( ) : { [ dataSource : string ] : QueryQueue } {
690693 return this . queue ;
691694 }
692695
You can’t perform that action at this time.
0 commit comments