1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

chore: default metrics storage days updated (#8931)

This commit is contained in:
Mateusz Kwasniewski 2024-12-06 13:04:56 +01:00 committed by GitHub
parent 4b443e2a57
commit c81d45b52c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ exports[`should create default config 1`] = `
"enabled": true,
"maxAge": 3600000,
},
"dailyMetricsStorageDays": 31,
"dailyMetricsStorageDays": 91,
"db": {
"acquireConnectionTimeout": 30000,
"applicationName": "unleash",

View File

@ -627,7 +627,7 @@ export function createConfig(options: IUnleashOptions): IUnleashConfig {
const feedbackUriPath = process.env.FEEDBACK_URI_PATH;
const dailyMetricsStorageDays = Math.min(
parseEnvVarNumber(process.env.DAILY_METRICS_STORAGE_DAYS, 31),
parseEnvVarNumber(process.env.DAILY_METRICS_STORAGE_DAYS, 91),
91,
);