Skip to content

Commit

Permalink
Add 3 hours as a time (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
roopakv authored Mar 9, 2022
1 parent a3c5535 commit 993e5f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/ttl-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parameters:
be a factor into how often to bust. We don't want to do it too often or too few times.
type: enum
default: "1-day"
enum: ["6-hours", "12-hours", "1-day", "1-week", "1-month", "3-month"]
enum: ["3-hours", "6-hours", "12-hours", "1-day", "1-week", "1-month", "3-month"]
include-branch-in-cache:
description: |
If set this will include the branch will be included in the cache. This means that caches
Expand Down Expand Up @@ -63,6 +63,10 @@ steps:
time_period_secs=""
case "<< parameters.ttl-period >>" in
3-hours)
time_period_secs=10800
;;
6-hours)
time_period_secs=21600
;;
Expand Down

0 comments on commit 993e5f0

Please sign in to comment.