diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 61c7598ace..a60570a82e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,10 @@ Changed Contributed by @blag. +* Reduced minimum TTL on garbage collection for action executions and trigger instances from 7 days to 1 day. #5287 + + Contributed by @ericreeves. + 3.5.0 - June 23, 2021 --------------------- diff --git a/st2common/st2common/constants/garbage_collection.py b/st2common/st2common/constants/garbage_collection.py index ac8a2aac5f..2e56d396bd 100644 --- a/st2common/st2common/constants/garbage_collection.py +++ b/st2common/st2common/constants/garbage_collection.py @@ -27,8 +27,8 @@ # How to long to wait / sleep between collection of different object types (in seconds) DEFAULT_SLEEP_DELAY = 2 -# Minimum value for the TTL. If user supplies value lower than this, we will throw. -MINIMUM_TTL_DAYS = 7 +# Minimum TTL in days for action executions and trigger instances. +MINIMUM_TTL_DAYS = 1 # Minimum TTL in days for action execution output objects. MINIMUM_TTL_DAYS_EXECUTION_OUTPUT = 1