mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 02:16:31 +00:00
fix[scheduler]:线程池优化
This commit is contained in:
1 parent
9ea2a5cbbc
commit
bf1429ada8
1 file changed
+1
-1
@@ -44,7 +44,7 @@ public abstract class SchedulerBus {
|
||||
static {
|
||||
executor.scheduleAtFixedRate(() -> {
|
||||
try {
|
||||
timer.advanceClock(1);
|
||||
timer.advanceClock(10);
|
||||
} catch (Exception e) {
|
||||
logger.error("scheduler triggers an error.", e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user