mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
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