mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Renamed to reflect what it really does.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9408 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c2d95bcab3
commit
efcfe5d1d6
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ import java.util.WeakHashMap;
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
*/
|
||||
public class SlaveReconnectionWork extends SafeTimerTask {
|
||||
public class ComputerRetentionWork extends SafeTimerTask {
|
||||
/**
|
||||
* Use weak hash map to avoid leaking {@link Computer}.
|
||||
*/
|
||||
@@ -4,7 +4,7 @@ import antlr.ANTLRException;
|
||||
import hudson.DependencyRunner;
|
||||
import hudson.DependencyRunner.ProjectRunnable;
|
||||
import hudson.ExtensionPoint;
|
||||
import hudson.slaves.SlaveReconnectionWork;
|
||||
import hudson.slaves.ComputerRetentionWork;
|
||||
import hudson.model.AbstractProject;
|
||||
import hudson.model.Action;
|
||||
import hudson.model.Build;
|
||||
@@ -217,7 +217,7 @@ public abstract class Trigger<J extends Item> implements Describable<Trigger<?>>
|
||||
// clean up fingerprint once a day
|
||||
timer.scheduleAtFixedRate(new FingerprintCleanupThread(),DAY,DAY);
|
||||
timer.scheduleAtFixedRate(new WorkspaceCleanupThread(),DAY+4*HOUR,DAY);
|
||||
timer.scheduleAtFixedRate(new SlaveReconnectionWork(),15*MIN,1*MIN);
|
||||
timer.scheduleAtFixedRate(new ComputerRetentionWork(),15*MIN,1*MIN);
|
||||
|
||||
// start monitoring nodes, although there's no hurry.
|
||||
timer.schedule(new SafeTimerTask() {
|
||||
|
||||
Reference in new issue
Block a user