High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore!: remove deprecated env variables (#27802)
Jason Rasmussen41d2d84b21b5
diff --git a/server/src/config.ts b/server/src/config.tsindex e6134df477..b4feeca4dc 100644--- a/server/src/config.ts+++ b/server/src/config.ts@@ -247,7 +247,7 @@ export const defaults = Object.freeze<SystemConfig>({urls: [process.env.IMMICH_MACHINE_LEARNING_URL || 'http://immich-machine-learning:3003'],availabilityChecks: {enabled: true,- timeout: Number(process.env.IMMICH_MACHINE_LEARNING_PING_TIMEOUT) || 2000,+ timeout: 2000,interval: 30_000,},clip: {diff --git a/server/src/services/system-config.service.ts b/server/src/services/system-config.service.tsindex 981141b02e..2762b9e754 100644--- a/server/src/services/system-config.service.ts+++ b/server/src/services/system-config.service.ts@@ -15,15 +15,6 @@ export class SystemConfigService extends BaseService {async onBootstrap() {const config = await this.getConfig({ withCache: false });await this.eventRepository.emit('ConfigInit', { newConfig: config });-- if (- process.env.IMMICH_MACHINE_LEARNING_PING_TIMEOUT ||- process.env.IMMICH_MACHINE_LEARNING_AVAILABILITY_BACKOFF_TIME- ) {- this.logger.deprecate(- 'IMMICH_MACHINE_LEARNING_PING_TIMEOUT and MACHINE_LEARNING_AVAILABILITY_BACKOFF_TIME have been moved to system config(`machineLearning.availabilityChecks`) and will be removed in a future release.',- );- }}@OnEvent({ name: 'AppShutdown' })