mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 10:19:04 +00:00
perf[orm]: find thread by threadExecutorMap
This commit is contained in:
1 parent
6dd5b3ac65
commit
082c2fa581
6 files changed
+37
-31
No files matched your search
@@ -83,7 +83,7 @@ public abstract class SchedulerBus {
|
||||
thread.setDaemon(false);
|
||||
thread.setPriority(Thread.NORM_PRIORITY);
|
||||
thread.setUncaughtExceptionHandler((t, e) -> logger.error(t.toString(), e));
|
||||
ThreadUtils.registerExecutor(thread.getId(), executor);
|
||||
ThreadUtils.registerSingleThreadExecutor(thread, executor);
|
||||
return thread;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user