diff --git a/packages/config/src/ConfigLoader.ts b/packages/config/src/ConfigLoader.ts index 0ec4dd90f..761b4ee9e 100644 --- a/packages/config/src/ConfigLoader.ts +++ b/packages/config/src/ConfigLoader.ts @@ -291,7 +291,7 @@ function defaultConfig(): MasterConfig { min_member_count: 1, }, attachment_decay_enabled: true, - deletion_grace_period_hours: 72, + deletion_grace_period_hours: 336, inactivity_deletion_threshold_days: 365, }; } diff --git a/packages/config/src/config_loader/EnvironmentOverrides.ts b/packages/config/src/config_loader/EnvironmentOverrides.ts index 5289dbd4f..63e3b7611 100644 --- a/packages/config/src/config_loader/EnvironmentOverrides.ts +++ b/packages/config/src/config_loader/EnvironmentOverrides.ts @@ -360,6 +360,7 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record = { }, FLUXER_DISCOVERY_ENABLED: {path: ['discovery', 'enabled'], parse: parseEnvValue}, FLUXER_DISCOVERY_MIN_MEMBER_COUNT: {path: ['discovery', 'min_member_count'], parse: parseEnvValue}, + FLUXER_DELETION_GRACE_PERIOD_HOURS: {path: ['deletion_grace_period_hours'], parse: parseEnvValue}, FLUXER_RELAX_REGISTRATION_RATE_LIMITS: {path: ['dev', 'relax_registration_rate_limits'], parse: parseEnvValue}, FLUXER_DISABLE_RATE_LIMITS: {path: ['dev', 'disable_rate_limits'], parse: parseEnvValue}, FLUXER_TEST_MODE_ENABLED: {path: ['dev', 'test_mode_enabled'], parse: parseEnvValue},