-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not evict a run from the cache which has active tasks.
A dead task (a task which has not been updated for 360s) will only be scavenged if it belongs to a run in the cache. However clean runs are evicted from the cache after 300s. So if the run does not get new tasks, for example because it has low priority, the dead tasks remain unscavenged until somebody explicitly looks at the run (this pulls the run back in the cache). Obviously it is not nice that dead tasks are not scavenged as soon as possible. Moreover the fact that the behaviour of the server is changed after executing a GET request is also a violation of the HTTP specs.
- Loading branch information
Showing
1 changed file
with
24 additions
and
27 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