diff --git a/src/server/utils/cache.ts b/src/server/utils/cache.ts index 000ca6e3..f5a12c32 100644 --- a/src/server/utils/cache.ts +++ b/src/server/utils/cache.ts @@ -6,7 +6,7 @@ type Opts = { }; /** - * Cache the result of a function for the given expiry time + * Cache the result of a function for the given expiry time in milliseconds */ export function cacheFunction(fn: () => T, { expiry }: Opts): () => T { let cache: { value: T; expiry: number } | null = null;