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

多个druid数据源, 可以共享一个createScheduler和destroyScheduler吗? #4270

Closed
bthulu opened this issue May 7, 2021 · 1 comment

Comments

@bthulu
Copy link

bthulu commented May 7, 2021

因业务需求, 可能会创建几十个数据源, 如果每个数据源都用默认的createScheduler和destroyScheduler, 那产生的线程数就太多了, 可不可以共享一个scheduler呢?

@wenshao
Copy link
Member

wenshao commented May 9, 2021

可以共享的,支持单独配置createScheduler和destroyScheduler就是为了数万个超大规模的连接池场景

@wenshao wenshao closed this as completed May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants