(
projectId: string,
id: string
)
| 70 | } |
| 71 | |
| 72 | private async fetchFromCache( |
| 73 | projectId: string, |
| 74 | id: string |
| 75 | ): Promise<IGroupCacheEntry | null> { |
| 76 | const raw = await this.redis.get(this.getCacheKey(projectId, id)); |
| 77 | if (!raw) { |
| 78 | return null; |
| 79 | } |
| 80 | return getSafeJson<IGroupCacheEntry>(raw); |
| 81 | } |
| 82 | |
| 83 | private async fetchFromClickhouse( |
| 84 | projectId: string, |
no test coverage detected