-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent cache invalidation for task directives (#4339)
This commit prevents the cache invalidation then a process directive is modified over a resume, as introduced by PR #2382, since they are configured hints for the process execution. When the task has been successfully completed, should not be re-executed if a directive value changes e.g. `cpus` or `memory`. The extension directive i.e. with the prefix `ext.` is an exception to this rule and will invalidate the cache in any case. The experimental variable `NXF_ENABLE_CACHE_INVALIDATION_ON_TASK_DIRECTIVE_CHANGE` has been removed in favour of the above logic. Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
- Loading branch information
1 parent
1a68049
commit aabb6c1
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters