mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	feat(server, microservices): add bull prefix (#490)
This commit is contained in:
		@@ -34,6 +34,7 @@ import { AppLoggerMiddleware } from './middlewares/app-logger.middleware';
 | 
			
		||||
 | 
			
		||||
    BullModule.forRootAsync({
 | 
			
		||||
      useFactory: async () => ({
 | 
			
		||||
        prefix: 'immich_bull',
 | 
			
		||||
        redis: {
 | 
			
		||||
          host: process.env.REDIS_HOSTNAME || 'immich_redis',
 | 
			
		||||
          port: parseInt(process.env.REDIS_PORT || '6379'),
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,7 @@ import {
 | 
			
		||||
    TypeOrmModule.forFeature([UserEntity, ExifEntity, AssetEntity, SmartInfoEntity]),
 | 
			
		||||
    BullModule.forRootAsync({
 | 
			
		||||
      useFactory: async () => ({
 | 
			
		||||
        prefix: 'immich_bull',
 | 
			
		||||
        redis: {
 | 
			
		||||
          host: process.env.REDIS_HOSTNAME || 'immich_redis',
 | 
			
		||||
          port: parseInt(process.env.REDIS_PORT || '6379'),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user