Sharkey/packages/backend/src/server/activitypub/cache.ts

5 lines
157 B
TypeScript
Raw Normal View History

2022-03-20 22:31:04 +02:00
import { Cache } from "@/misc/cache.js";
import { User } from "@/models/entities/user.js";
2022-03-20 22:21:37 +02:00
export const userCache = new Cache<User | null>(1000 * 60 * 30);