mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 22:01:11 +10:00
feat: adding family 6 in uri to configure for both 4 and 6 (#807)
* feat: adding family 6 in uri to configure for both 4 and 6 * feat: adding redis family in websocket config
This commit is contained in:
committed by
GitHub
parent
7a47da9273
commit
6776e073b6
@ -3,7 +3,7 @@ import { BullModule } from '@nestjs/bullmq';
|
||||
import { EnvironmentService } from '../environment/environment.service';
|
||||
import { createRetryStrategy, parseRedisUrl } from '../../common/helpers';
|
||||
import { QueueName } from './constants';
|
||||
import { BacklinksProcessor } from "./processors/backlinks.processor";
|
||||
import { BacklinksProcessor } from './processors/backlinks.processor';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
@ -17,6 +17,7 @@ import { BacklinksProcessor } from "./processors/backlinks.processor";
|
||||
port: redisConfig.port,
|
||||
password: redisConfig.password,
|
||||
db: redisConfig.db,
|
||||
family: redisConfig.family,
|
||||
retryStrategy: createRetryStrategy(),
|
||||
},
|
||||
defaultJobOptions: {
|
||||
@ -41,6 +42,6 @@ import { BacklinksProcessor } from "./processors/backlinks.processor";
|
||||
}),
|
||||
],
|
||||
exports: [BullModule],
|
||||
providers: [BacklinksProcessor]
|
||||
providers: [BacklinksProcessor],
|
||||
})
|
||||
export class QueueModule {}
|
||||
|
||||
Reference in New Issue
Block a user