Increasing default api key removalDelay to 1h (#85576)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
fbb83af63d
commit
ab07a003d4
|
@ -15,7 +15,7 @@ describe('config validation', () => {
|
|||
},
|
||||
"invalidateApiKeysTask": Object {
|
||||
"interval": "5m",
|
||||
"removalDelay": "5m",
|
||||
"removalDelay": "1h",
|
||||
},
|
||||
}
|
||||
`);
|
||||
|
|
|
@ -13,7 +13,7 @@ export const configSchema = schema.object({
|
|||
}),
|
||||
invalidateApiKeysTask: schema.object({
|
||||
interval: schema.string({ validate: validateDurationSchema, defaultValue: '5m' }),
|
||||
removalDelay: schema.string({ validate: validateDurationSchema, defaultValue: '5m' }),
|
||||
removalDelay: schema.string({ validate: validateDurationSchema, defaultValue: '1h' }),
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ describe('Alerting Plugin', () => {
|
|||
},
|
||||
invalidateApiKeysTask: {
|
||||
interval: '5m',
|
||||
removalDelay: '5m',
|
||||
removalDelay: '1h',
|
||||
},
|
||||
});
|
||||
const plugin = new AlertingPlugin(context);
|
||||
|
@ -73,7 +73,7 @@ describe('Alerting Plugin', () => {
|
|||
},
|
||||
invalidateApiKeysTask: {
|
||||
interval: '5m',
|
||||
removalDelay: '5m',
|
||||
removalDelay: '1h',
|
||||
},
|
||||
});
|
||||
const plugin = new AlertingPlugin(context);
|
||||
|
@ -124,7 +124,7 @@ describe('Alerting Plugin', () => {
|
|||
},
|
||||
invalidateApiKeysTask: {
|
||||
interval: '5m',
|
||||
removalDelay: '5m',
|
||||
removalDelay: '1h',
|
||||
},
|
||||
});
|
||||
const plugin = new AlertingPlugin(context);
|
||||
|
|
Loading…
Reference in a new issue