提交 e8e492fe 编写于 作者: J Jesse Glick

More natural to use Timer for ProgressiveRendering.

上级 d98be559
......@@ -25,7 +25,6 @@
package jenkins.util;
import edu.umd.cs.findbugs.annotations.SuppressWarnings;
import hudson.model.Computer;
import java.util.concurrent.ExecutorService;
import java.util.logging.Level;
import java.util.logging.Logger;
......@@ -179,10 +178,10 @@ public abstract class ProgressiveRendering {
/**
* May be overridden to provide an alternate executor service.
* @return by default, {@link Computer#threadPoolForRemoting}
* @return by default, {@link Timer#get}
*/
protected ExecutorService executorService() {
return Computer.threadPoolForRemoting;
return Timer.get();
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册