1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-19 18:26:46 +01:00

fix(server): init library scanning on start up (#5951)

This commit is contained in:
Daniel Dietzler 2023-12-23 21:46:42 +01:00 committed by GitHub
parent aaa7a613b2
commit 8fdd3aaed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@ import {
AuthService,
DatabaseService,
JobService,
LibraryService,
ONE_HOUR,
OpenGraphTags,
ServerInfoService,
@ -44,6 +45,7 @@ export class AppService {
private authService: AuthService,
private configService: SystemConfigService,
private jobService: JobService,
private libraryService: LibraryService,
private serverService: ServerInfoService,
private sharedLinkService: SharedLinkService,
private storageService: StorageService,
@ -64,6 +66,7 @@ export class AppService {
await this.databaseService.init();
await this.configService.init();
this.storageService.init();
await this.libraryService.init();
await this.serverService.handleVersionCheck();
this.logger.log(`Feature Flags: ${JSON.stringify(await this.serverService.getFeatures(), null, 2)}`);
}