fix: unexpectedly commented code to upsert jobs
This commit is contained in:
parent
afffbd8ecb
commit
93bdddc21e
@ -3,18 +3,18 @@ import { ClassifyVideoQueue, LatestVideosQueue, SnapshotQueue } from "lib/mq/ind
|
|||||||
import logger from "lib/log/logger.ts";
|
import logger from "lib/log/logger.ts";
|
||||||
|
|
||||||
export async function initMQ() {
|
export async function initMQ() {
|
||||||
// await LatestVideosQueue.upsertJobScheduler("getLatestVideos", {
|
await LatestVideosQueue.upsertJobScheduler("getLatestVideos", {
|
||||||
// every: 1 * MINUTE,
|
every: 1 * MINUTE,
|
||||||
// immediately: true,
|
immediately: true,
|
||||||
// });
|
});
|
||||||
// await ClassifyVideoQueue.upsertJobScheduler("classifyVideos", {
|
await ClassifyVideoQueue.upsertJobScheduler("classifyVideos", {
|
||||||
// every: 5 * MINUTE,
|
every: 5 * MINUTE,
|
||||||
// immediately: true,
|
immediately: true,
|
||||||
// });
|
});
|
||||||
// await LatestVideosQueue.upsertJobScheduler("collectSongs", {
|
await LatestVideosQueue.upsertJobScheduler("collectSongs", {
|
||||||
// every: 3 * MINUTE,
|
every: 3 * MINUTE,
|
||||||
// immediately: true,
|
immediately: true,
|
||||||
// });
|
});
|
||||||
await SnapshotQueue.upsertJobScheduler("scheduleSnapshotTick", {
|
await SnapshotQueue.upsertJobScheduler("scheduleSnapshotTick", {
|
||||||
every: 3 * MINUTE,
|
every: 3 * MINUTE,
|
||||||
immediately: true,
|
immediately: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user