Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 9, 2021
1 parent e30cdce commit 94c7a20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WDL/runtime/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def _parse_list(v: str) -> List[Any]:
"cache_backend": [
importlib_metadata.EntryPoint(
group="miniwdl.plugin.cache_backend",
name="default",
name="dir",
value="WDL.runtime.cache:CallCache",
)
],
Expand Down
6 changes: 4 additions & 2 deletions WDL/runtime/config_templates/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ docker = "amazon/aws-cli@sha256:98ec84db99a707708f8bfb9a09ce48cccf827a5ed682917f
docker = "google/cloud-sdk@sha256:64ddc4e5d3f7fdc5a198c8acf1c361702994462dbe79e7de5a6bde6e62e60e6b"

[call_cache]
# pluggable implementation
backend = default
# When a task in a workflow is performed, cache the output of the task in a certain directory where it can
# be found later and reused for the same task definition/inputs
put = false
# enable retrieval of cached outputs
get = false
# pluggable implementation: the default stores cache JSON files in a local directory, and checks
# posix mtimes of any local files referenced in the cached inputs/outputs (invalidating the cache
# entry if any referenced files are newer)
backend = dir
dir = ~/.cache/miniwdl


Expand Down

0 comments on commit 94c7a20

Please sign in to comment.