From f9ad29f42b989189cd33c651b9b4ed74610ae2d0 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 12 Aug 2020 11:01:05 +1200 Subject: [PATCH] update all ttl values to 6 hours --- common/config/config.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/config/config.go b/common/config/config.go index 69a9c2344..40a3cefdd 100644 --- a/common/config/config.go +++ b/common/config/config.go @@ -63,17 +63,17 @@ const ( // job ttl expire time in hours const ( - CREATE_TASK_JOB_TTL = 24 - DELETE_TASK_JOB_TTL = 24 - DELETE_LOAD_BALANCER_JOB_TTL = 24 - DELETE_SERVICE_JOB_TTL = 24 - DELETE_ENVIRONMENT_JOB_TTL = 24 + CREATE_TASK_JOB_TTL = 6 + DELETE_TASK_JOB_TTL = 6 + DELETE_LOAD_BALANCER_JOB_TTL = 6 + DELETE_SERVICE_JOB_TTL = 6 + DELETE_ENVIRONMENT_JOB_TTL = 6 ) // tag ttl expire time in hours const ( - TASK_TAG_TTL = 24 - DEPLOY_JOB_TAG_TTL = 72 + TASK_TAG_TTL = 6 + DEPLOY_JOB_TAG_TTL = 6 ) var RequiredAPIVariables = []string{