Skip to content

Commit

Permalink
update all ttl values to 6 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
victor committed Aug 11, 2020
1 parent 12d237c commit f9ad29f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit f9ad29f

Please sign in to comment.