forked from Archives/Athou_commafeed
log before executing
This commit is contained in:
@@ -62,8 +62,8 @@ public class FeedRefreshUpdater {
|
|||||||
pool.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy() {
|
pool.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy() {
|
||||||
@Override
|
@Override
|
||||||
public void rejectedExecution(Runnable r, ThreadPoolExecutor e) {
|
public void rejectedExecution(Runnable r, ThreadPoolExecutor e) {
|
||||||
super.rejectedExecution(r, e);
|
|
||||||
log.info("Thread queue full, executing in own thread.");
|
log.info("Thread queue full, executing in own thread.");
|
||||||
|
super.rejectedExecution(r, e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user