update: remove old jobScheduler

This commit is contained in:
alikia2x (寒寒) 2025-03-23 21:48:42 +08:00
parent 35d58be8fd
commit f9dd53c250
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
2 changed files with 2 additions and 1 deletions

View File

@ -35,5 +35,7 @@ export async function initMQ() {
immediately: true,
});
await SnapshotQueue.removeJobScheduler('scheduleSnapshotTick');
logger.log("Message queue initialized.");
}

View File

@ -4,7 +4,6 @@ import { SlidingWindow } from "lib/mq/slidingWindow.ts";
import { redis } from "lib/db/redis.ts";
import Redis from "ioredis";
import { SECOND } from "$std/datetime/constants.ts";
import { randomUUID } from "node:crypto";
interface Proxy {
type: string;