techhero-score-service.yml 964 Bytes
Newer Older
1 2 3 4
server:
  tomcat:
    max-threads: 500 # Maximum amount of worker threads.
    min-spare-threads: 50 # Minimum amount of worker threads
Administrator committed
5 6
spring:
  datasource:
7
    url: jdbc:sybase:Tds:192.168.50.175:5000/test_db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
Administrator committed
8 9 10 11 12 13 14 15 16
    username: sa
    password: password
    driver-class-name: com.sybase.jdbc4.jdbc.SybDriver
    keep-alive-time: 30000
    hikari:
      minimum-idle: 1
      maximum-pool-size: 5
      idle-timeout: 600000
      max-lifetime: 1500000
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
      connection-test-query: select 1
  redis:
    host: 192.168.50.159 #119.96.87.17 #47.104.251.199
    port: 6379 #6942
    password: techhero #ENC(08db934a254e34b5366ff337b81532ec)
    database: 14
    #host: 39.108.117.105
    #port: 6379
    #password: xh3.1415..
    #database: 2
    timeout: 10000
    lettuce:
      pool:
        max-idle: 4
        min-idle: 1
        max-active: 5
        max-wait: 10000