Skip to content

Commit

Permalink
Memoization and TTLs tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
aleskandro committed Oct 16, 2023
1 parent a3ce308 commit ee46a61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions argo-workflows/okd-workflows/20-build-multiarch-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ metadata:
name: build-multiarch-image
spec:
ttlStrategy:
secondsAfterFailure: 86400
secondsAfterSuccess: 8400
secondsAfterFailure: 259200 # 3 days
secondsAfterSuccess: 86400 # 1 day
entrypoint: entrypoint
arguments:
parameters:
Expand Down
2 changes: 1 addition & 1 deletion argo-workflows/okd-workflows/30-tpl-build-memoize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
- name: architectures
memoize:
key: "{{inputs.parameters.memoization-key}}"
maxAge: "6h"
maxAge: "96h" # 4 days memoization
cache:
configMap:
name: build-okd
Expand Down

0 comments on commit ee46a61

Please sign in to comment.