fix: incorrect event configuration (#15530)

This commit is contained in:
Jason Rasmussen 2025-01-22 15:43:06 -05:00 committed by GitHub
parent c7a1f2944f
commit ca3619658b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ export class JobService extends BaseService {
}
}
@OnEvent({ name: 'config.update', server: true })
@OnEvent({ name: 'config.update', server: true, workers: [ImmichWorker.MICROSERVICES] })
onConfigUpdate({ newConfig: config }: ArgOf<'config.update'>) {
this.onConfigInit({ newConfig: config });
}