mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 18:16:15 +08:00
feat(docs): migrate bs docs
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
"@queuedash/api": "^3.16.0",
|
||||
"@react-email/components": "^0.5.7",
|
||||
"@socket.io/redis-adapter": "^8.3.0",
|
||||
"bullmq": "^5.40.2",
|
||||
"bullmq": "5.53.0",
|
||||
"commander": "^13.1.0",
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cross-env": "^10.1.0",
|
||||
@@ -75,7 +75,7 @@
|
||||
"eventemitter2": "^6.4.9",
|
||||
"exa-js": "^2.4.0",
|
||||
"express": "^5.0.1",
|
||||
"fast-xml-parser": "^5.5.7",
|
||||
"fast-xml-parser": "^5.7.2",
|
||||
"get-stream": "^9.0.1",
|
||||
"google-auth-library": "^10.2.0",
|
||||
"graphql": "^16.13.2",
|
||||
|
||||
@@ -3,6 +3,7 @@ import './config';
|
||||
import { BullModule } from '@nestjs/bullmq';
|
||||
import { DynamicModule } from '@nestjs/common';
|
||||
import { type QueueOptions } from 'bullmq';
|
||||
import { type Redis as IORedis } from 'ioredis';
|
||||
|
||||
import { Config } from '../../config';
|
||||
import { QueueRedis } from '../../redis';
|
||||
@@ -31,7 +32,7 @@ export class JobModule {
|
||||
// to avoid new jobs been dropped by old deployments
|
||||
prefix,
|
||||
defaultJobOptions: config.job.queue,
|
||||
connection: redis,
|
||||
connection: redis as IORedis,
|
||||
};
|
||||
},
|
||||
inject: [Config, QueueRedis],
|
||||
|
||||
Reference in New Issue
Block a user