perf[event]: 简化随机事件执行选择线程池的逻辑

This commit is contained in:
godotg
2022-07-28 22:15:49 +08:00
parent 745ce86878
commit c9958bdfdf
@@ -112,7 +112,7 @@ public abstract class EventBus {
}
public static void asyncExecute(Runnable runnable) {
execute(RandomUtils.randomInt(EXECUTORS_SIZE), runnable);
execute(RandomUtils.randomInt(), runnable);
}
/**