Modify aodh expirer run cycle to 24 hours

Change the pebble layer for aodh-expirer
to run the expirer once for every 24 hours
instead of 1 minute.

Change-Id: I84631097b5e0ad10a8e89ab8c6a33f8a865aee4c
This commit is contained in:
Hemanth Nakkina 2023-08-31 12:07:15 +05:30
parent 0fe60eafb8
commit c22ff1adf2

View File

@ -190,7 +190,7 @@ class AODHExpirerPebbleHandler(sunbeam_chandlers.ServicePebbleHandler):
"override": "replace",
"summary": "AODH Expirer",
"command": (
'/bin/bash -c "while true; do aodh-expirer; sleep 60; done"'
'/bin/bash -c "while true; do aodh-expirer; sleep 86400; done"'
),
"startup": "enabled",
"user": "aodh",