File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
x-pack/plugins/alerts/server Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ describe('config validation', () => {
1515 },
1616 "invalidateApiKeysTask": Object {
1717 "interval": "5m",
18- "removalDelay": "5m ",
18+ "removalDelay": "1h ",
1919 },
2020 }
2121 ` ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const configSchema = schema.object({
1313 } ) ,
1414 invalidateApiKeysTask : schema . object ( {
1515 interval : schema . string ( { validate : validateDurationSchema , defaultValue : '5m' } ) ,
16- removalDelay : schema . string ( { validate : validateDurationSchema , defaultValue : '5m ' } ) ,
16+ removalDelay : schema . string ( { validate : validateDurationSchema , defaultValue : '1h ' } ) ,
1717 } ) ,
1818} ) ;
1919
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ describe('Alerting Plugin', () => {
2424 } ,
2525 invalidateApiKeysTask : {
2626 interval : '5m' ,
27- removalDelay : '5m ' ,
27+ removalDelay : '1h ' ,
2828 } ,
2929 } ) ;
3030 const plugin = new AlertingPlugin ( context ) ;
@@ -73,7 +73,7 @@ describe('Alerting Plugin', () => {
7373 } ,
7474 invalidateApiKeysTask : {
7575 interval : '5m' ,
76- removalDelay : '5m ' ,
76+ removalDelay : '1h ' ,
7777 } ,
7878 } ) ;
7979 const plugin = new AlertingPlugin ( context ) ;
@@ -124,7 +124,7 @@ describe('Alerting Plugin', () => {
124124 } ,
125125 invalidateApiKeysTask : {
126126 interval : '5m' ,
127- removalDelay : '5m ' ,
127+ removalDelay : '1h ' ,
128128 } ,
129129 } ) ;
130130 const plugin = new AlertingPlugin ( context ) ;
You can’t perform that action at this time.
0 commit comments