initial state: muzick music player + recommendation engine

This commit is contained in:
kami
2026-07-14 01:35:52 +04:00
commit 737bf19fd1
196 changed files with 32431 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { ConnectionOptions, Queue } from 'bullmq';
export const connection: ConnectionOptions = {
url: process.env.REDIS_URL || 'redis://localhost:6379',
};
export const QUEUE_NAME = 'muzick-queue';
// Shared Queue instance used to register repeatable/scheduled jobs (e.g. the
// periodic integrity sweep). Producers in other services can import this too.
export const queue = new Queue(QUEUE_NAME, { connection });