mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(api): ✨ Implement duration controls on mutes
This commit is contained in:
parent
9d1d56bd08
commit
c9a1581932
17 changed files with 652 additions and 572 deletions
|
|
@ -8,6 +8,7 @@ import { fetchQueue } from "~/classes/queues/fetch";
|
|||
import { inboxQueue } from "~/classes/queues/inbox";
|
||||
import { mediaQueue } from "~/classes/queues/media";
|
||||
import { pushQueue } from "~/classes/queues/push";
|
||||
import { relationshipQueue } from "~/classes/queues/relationships";
|
||||
import { config } from "~/config.ts";
|
||||
import pkg from "~/package.json";
|
||||
import type { HonoEnv } from "~/types/api";
|
||||
|
|
@ -22,6 +23,7 @@ export const applyToHono = (app: Hono<HonoEnv>): void => {
|
|||
new BullMQAdapter(fetchQueue),
|
||||
new BullMQAdapter(pushQueue),
|
||||
new BullMQAdapter(mediaQueue),
|
||||
new BullMQAdapter(relationshipQueue),
|
||||
],
|
||||
serverAdapter,
|
||||
options: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue