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:
parent
4b443e2a57
commit
c81d45b52c
@ -27,7 +27,7 @@ exports[`should create default config 1`] = `
|
||||
"enabled": true,
|
||||
"maxAge": 3600000,
|
||||
},
|
||||
"dailyMetricsStorageDays": 31,
|
||||
"dailyMetricsStorageDays": 91,
|
||||
"db": {
|
||||
"acquireConnectionTimeout": 30000,
|
||||
"applicationName": "unleash",
|
||||
|
@ -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,
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user