This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-18 13:17:04 +01:00
parent ccff90829b
commit 5757cb2fac
4 changed files with 120 additions and 40 deletions

View File

@@ -1,5 +1,4 @@
import * as controller from '@/controllers/misc.controller';
import { insightsQueue } from '@openpanel/queue';
import type { FastifyPluginCallback } from 'fastify';
const miscRouter: FastifyPluginCallback = async (fastify) => {

View File

@@ -14,13 +14,10 @@ import {
import express from 'express';
import client from 'prom-client';
import { getRedisQueue } from '@openpanel/redis';
import { Worker } from 'bullmq';
import { BullBoardGroupMQAdapter } from 'groupmq';
import sourceMapSupport from 'source-map-support';
import { bootCron } from './boot-cron';
import { bootWorkers } from './boot-workers';
import { insightsProjectJob } from './jobs/insights';
import { register } from './metrics';
import { logger } from './utils/logger';