fix?
This commit is contained in:
		| @@ -108,9 +108,9 @@ export type Mixin = { | ||||
| 	mediaProxy: string; | ||||
| 	externalMediaProxyEnabled: boolean; | ||||
| 	videoThumbnailGenerator: string | null; | ||||
| 	redis: RedisOptions; | ||||
| 	redisForPubsub: RedisOptions; | ||||
| 	redisForJobQueue: RedisOptions; | ||||
| 	redis: RedisOptions & RedisOptionsSource; | ||||
| 	redisForPubsub: RedisOptions & RedisOptionsSource; | ||||
| 	redisForJobQueue: RedisOptions & RedisOptionsSource; | ||||
| }; | ||||
|  | ||||
| export type Config = Source & Mixin; | ||||
|   | ||||
| @@ -14,7 +14,10 @@ export const QUEUE = { | ||||
|  | ||||
| export function baseQueueOptions(config: Config, queueName: typeof QUEUE[keyof typeof QUEUE]): Bull.QueueOptions { | ||||
| 	return { | ||||
| 		connection: config.redisForJobQueue, | ||||
| 		connection: { | ||||
| 			...config.redisForJobQueue, | ||||
| 			keyPrefix: undefined | ||||
| 		}, | ||||
| 		prefix: config.redisForJobQueue.prefix ? `${config.redisForJobQueue.prefix}:queue:${queueName}` : `queue:${queueName}`, | ||||
| 	}; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tamaina
					tamaina