Skip to content

Commit 993e5f0

Browse files
authored
Add 3 hours as a time (#100)
1 parent a3c5535 commit 993e5f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/commands/ttl-cache.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ parameters:
1818
be a factor into how often to bust. We don't want to do it too often or too few times.
1919
type: enum
2020
default: "1-day"
21-
enum: ["6-hours", "12-hours", "1-day", "1-week", "1-month", "3-month"]
21+
enum: ["3-hours", "6-hours", "12-hours", "1-day", "1-week", "1-month", "3-month"]
2222
include-branch-in-cache:
2323
description: |
2424
If set this will include the branch will be included in the cache. This means that caches
@@ -63,6 +63,10 @@ steps:
6363
time_period_secs=""
6464
6565
case "<< parameters.ttl-period >>" in
66+
3-hours)
67+
time_period_secs=10800
68+
;;
69+
6670
6-hours)
6771
time_period_secs=21600
6872
;;

0 commit comments

Comments
 (0)