Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleEventListenerManager 实现中增加默认调度器 #493

Merged
merged 2 commits into from
Nov 5, 2022

Conversation

ForliyScarlet
Copy link
Member

SimpleEventListenerManager 配置实例中的 context 中没有 CoroutineDispatcher 时,提供一个默认的最低允许16并发的调度器。

此行为可以通过JVM参数 love.forte.simbot.core.SimpleListenerManager.disableDefaultDispatcher=true 来关闭。

@ForliyScarlet ForliyScarlet added v3 特性 一个新特性,或者一个新的功能/能力 labels Nov 5, 2022
@ForliyScarlet ForliyScarlet merged commit 1afe1b7 into v3-dev Nov 5, 2022
@ForteScarlet ForteScarlet deleted the event_listener_manager branch November 5, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
特性 一个新特性,或者一个新的功能/能力
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants