Merged in feature/warmup (pull request #1887)
* unified warmup function Approved-by: Linus Flood
This commit is contained in:
@@ -3,11 +3,10 @@ import { env } from "@/env/server"
|
||||
import { isEdge } from "@/utils/isEdge"
|
||||
|
||||
import { createMemoryCache } from "./MemoryCache/createMemoryCache"
|
||||
import { type DataCache } from "./Cache"
|
||||
import { createDistributedCache } from "./DistributedCache"
|
||||
import { cacheLogger } from "./logger"
|
||||
|
||||
import type { DataCache } from "./Cache"
|
||||
|
||||
export type { CacheTime, DataCache } from "./Cache"
|
||||
|
||||
export async function getCacheClient(): Promise<DataCache> {
|
||||
|
||||
Reference in New Issue
Block a user