10 lines
181 B
TypeScript
10 lines
181 B
TypeScript
import { Queue } from "bullmq";
|
|
|
|
// BullMQ v4 requires host + port, NOT url:
|
|
export const feedQueue = new Queue("feeds", {
|
|
connection: {
|
|
host: "redis",
|
|
port: 6379
|
|
}
|
|
});
|