You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/01/23 01:49:40 UTC
[GitHub] xiaoxing598 commented on issue #1799: How to configure the
initialization parameters of the connection pool?
xiaoxing598 commented on issue #1799: How to configure the initialization parameters of the connection pool?
URL: https://github.com/apache/incubator-shardingsphere/issues/1799#issuecomment-456636728
1. You can see that I am using the [DRUID](https://github.com/alibaba/druid/wiki/DruidDataSource%E9%85%8D%E7%BD%AE) connection pool, but I need to configure the parameters of the connection pool itself, how to achieve this?
1. The following shows a small part of the [DRUID](https://github.com/alibaba/druid/wiki/DruidDataSource%E9%85%8D%E7%BD%AE) connection pool properties.
```
druid.web-stat-filter.enabled = false
druid.stat-view-servlet.enabled = false
druid.initial-size = 5
druid.max-active = 100
druid.min-idle = 5
druid.max-wait = 60000
druid.min-evictable-idle-time-millis = 300000
druid.validation-query = SELECT 1 FROM DUAL
druid.test-while-idle = true
druid.test-on-borrow = false
druid.test-on-return = false
druid.pool-prepared-statements = false
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services