Adds new configuration for panko-expirer
This patch enables limiting count of records panko-expirer is deleting each run. We need that to avoid expirer failures on huge event databases. Depends-On: I7ca0ab9e42352645e463c49f8ce58793115543c0 Change-Id: Idc59d4958a3919c6b457fcad083e0d07afe10892
This commit is contained in:
parent
c6ef0f2ace
commit
7d4f2f500b
|
@ -101,6 +101,11 @@ parameters:
|
||||||
description: >
|
description: >
|
||||||
Cron to delete events from db - Week Day
|
Cron to delete events from db - Week Day
|
||||||
default: '*'
|
default: '*'
|
||||||
|
PankoExpirerBatchSize:
|
||||||
|
type: number
|
||||||
|
description: >
|
||||||
|
Limit number of deleted events in single purge run
|
||||||
|
default: 500
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
service_debug_unset: {equals : [{get_param: PankoDebug}, '']}
|
service_debug_unset: {equals : [{get_param: PankoDebug}, '']}
|
||||||
|
@ -204,6 +209,7 @@ outputs:
|
||||||
panko::expirer::monthday: {get_param: PankoExpirerMonthday}
|
panko::expirer::monthday: {get_param: PankoExpirerMonthday}
|
||||||
panko::expirer::month: {get_param: PankoExpirerMonth}
|
panko::expirer::month: {get_param: PankoExpirerMonth}
|
||||||
panko::expirer::weekday: {get_param: PankoExpirerWeekday}
|
panko::expirer::weekday: {get_param: PankoExpirerWeekday}
|
||||||
|
panko::expirer::events_delete_batch_size: {get_param: PankoExpirerBatchSize}
|
||||||
service_config_settings:
|
service_config_settings:
|
||||||
keystone:
|
keystone:
|
||||||
panko::keystone::auth::public_url: {get_param: [EndpointMap, PankoPublic, uri]}
|
panko::keystone::auth::public_url: {get_param: [EndpointMap, PankoPublic, uri]}
|
||||||
|
|
Loading…
Reference in New Issue