Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ export type PreAggTableToTempTable = [
export type CacheKey =
| string
| [
query: string | QueryTuple,
options?: string[]
];
query: string | QueryTuple,
options?: string[]
];

type CacheEntry = {
time: number;
Expand Down Expand Up @@ -177,6 +177,9 @@ export class QueryCache {
if (redisUrl && redisNamespace) {
this.redisCache = new RedisQueryCacheClient({ url: redisUrl, namespace: redisNamespace, logger: this.logger });
}
else {
this.logger('Redis cache is disabled', { redisUrl, redisNamespace })
}
}

/**
Expand Down Expand Up @@ -686,7 +689,7 @@ export class QueryCache {
/**
* Returns registered queries queues hash table.
*/
public getQueues(): {[dataSource: string]: QueryQueue} {
public getQueues(): { [dataSource: string]: QueryQueue } {
return this.queue;
}

Expand Down