提交 fa69255f 编写于 作者: K kohsuke

adding a hook to disable the cache, until the day I manage to get rid of the caching all together.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8829 71c3de6d-444a-0410-be80-ed276b4c234a
上级 049b55e9
......@@ -174,6 +174,12 @@ public final class ProcessCache {
public static int MAX_AGE = 5;
static {
String age = System.getProperty(ProcessCache.class.getName() + ".age");
if(age!=null)
MAX_AGE = Integer.parseInt(age);
}
/**
* Noop callable used for checking the sanity of the maven process in the cache.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册