0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00

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 });
}