This commit is contained in:
syuilo 2022-03-25 13:11:52 +09:00
parent 6f5282058f
commit 22b56ac65c
4 changed files with 5 additions and 14 deletions

View file

@ -1,6 +1,4 @@
import { Cache } from "@/misc/cache.js";
import { Note } from "@/models/entities/note.js";
import { User } from "@/models/entities/user.js";
export const userCache = new Cache<User | null>(1000 * 60 * 30);
export const noteCache = new Cache<Note | null>(1000 * 60 * 30);