Commit 51dc842f912dd1c323db782e2e21344e12334b92

Authored by 刘岱鹏
1 parent 6c71de69

调整配置

Showing 1 changed file with 6 additions and 1 deletions
user-service.yml
@@ -37,8 +37,13 @@ spring: @@ -37,8 +37,13 @@ spring:
37 37
38 activemq: 38 activemq:
39 broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers 39 broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers
  40 + in-memory: true
40 pool: 41 pool:
41 - max-connections: 30 42 + enabled: true
  43 + max-connections: 5
  44 + idle-timeout: 30000
  45 + expiry-timeout: 0
  46 +
42 47
43 mybatis: 48 mybatis:
44 mapperLocations: classpath:/mybatis/*.xml 49 mapperLocations: classpath:/mybatis/*.xml