File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
joyqueue-console/joyqueue-web/joyqueue-web-application/src/main/resources Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # Hikari will use the above plus the following to setup connection pooling
2+ spring.main.banner-mode =off
3+ spring.datasource.type =com.zaxxer.hikari.HikariDataSource
4+ spring.datasource.hikari.minimum-idle =5
5+ spring.datasource.hikari.maximum-pool-size =5
6+ spring.datasource.hikari.idle-timeout =30000
7+ spring.datasource.hikari.pool-name =hikari
8+ spring.datasource.hikari.max-lifetime =1800000
9+ spring.datasource.hikari.connection-timeout =30000
10+ spring.datasource.hikari.connection-test-query =SELECT 1
11+
12+ # h2 datasource
13+ spring.datasource.driver =h2
14+ spring.datasource.url =jdbc:h2:file:~/.joyqueue_web/h2/code-generator;AUTO_SERVER=TRUE;INIT=RUNSCRIPT FROM 'classpath:/schema/schema.sql'
15+ spring.datasource.driverClassName =org.h2.Driver
16+ spring.datasource.username =
17+ spring.datasource.password =
18+
19+ # vertx
20+ vertx.http.port =10031
21+ vertx.routing.worker =true
22+ vertx.routing.instances =6
23+ vertx.routing.maxWorkerExecuteTime =6000000000
24+ vertx.routing.workerPoolName =routing
25+ vertx.routing.workerPoolSize =30
26+ vertx.routing.multiThreads =true
27+
28+ # mybatis
29+ mybatis.mapper-locations =classpath:mapper/*.xml
30+ mybatis.config-location =classpath:mybatis-config.xml
31+
32+ # nameserver
33+ joyqueue.servers =127.0.0.1:50091
You can’t perform that action at this time.
0 commit comments