mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore: incomplete commit
This commit is contained in:
parent
30d2707cec
commit
0bc0f4c3e9
1 changed files with 4 additions and 1 deletions
|
|
@ -150,6 +150,9 @@ export class MaintenanceWorkerService {
|
|||
async endMaintenance(): Promise<void> {
|
||||
const state: MaintenanceModeState = { isMaintenanceMode: false as const };
|
||||
await this.systemMetadataRepository.set(SystemMetadataKey.MaintenanceMode, state);
|
||||
this.maintenanceWorkerRepository.restartApp(state);
|
||||
|
||||
// => corresponds to notification.service.ts#onAppRestart
|
||||
this.maintenanceWorkerRepository.clientBroadcast('AppRestartV1', state);
|
||||
this.maintenanceWorkerRepository.serverSend('AppRestart', state);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue