diff --git a/packages/backend/src/models/repositories/user-profile.ts b/packages/backend/src/models/repositories/user-profile.ts index 9579a68a0..2b8c9fd93 100644 --- a/packages/backend/src/models/repositories/user-profile.ts +++ b/packages/backend/src/models/repositories/user-profile.ts @@ -8,7 +8,7 @@ import { unique } from "@/prelude/array.js"; import config from "@/config/index.js"; import { Semaphore } from "async-mutex"; -const queue = new Semaphore(10); +const queue = new Semaphore(5); export const UserProfileRepository = db.getRepository(UserProfile).extend({ // We must never await this without promiseEarlyReturn, otherwise giant webring-style profile mention trees will cause the queue to stop working