mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-09-09 02:17:48 +00:00
perf[orm]: find thread by threadExecutorMap
This commit is contained in:
@@ -93,7 +93,7 @@ public abstract class EventBus {
|
||||
thread.setUncaughtExceptionHandler((t, e) -> logger.error(t.toString(), e));
|
||||
var executor = executors[poolNumber];
|
||||
AssertionUtils.notNull(executor);
|
||||
ThreadUtils.registerExecutor(thread.getId(), executor);
|
||||
ThreadUtils.registerSingleThreadExecutor(thread, executor);
|
||||
return thread;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user