application-bloody.properties 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # redis config
  2. # Redis数据库索引(默认为0)
  3. spring.redis.database=2
  4. #spring.redis.database=2
  5. # Redis服务器地址
  6. spring.redis.host=60.1.1.21
  7. # Redis服务器连接端口
  8. spring.redis.port=6379
  9. # Redis服务器连接密码(默认为空)
  10. spring.redis.password=
  11. # 连接池最大连接数(使用负值表示没有限制)
  12. spring.redis.pool.max-active=8
  13. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  14. spring.redis.pool.max-wait=-1
  15. # 连接池中的最大空闲连接
  16. spring.redis.pool.max-idle=8
  17. # 连接池中的最小空闲连接
  18. spring.redis.pool.min-idle=0
  19. # 连接超时时间(毫秒)
  20. spring.redis.timeout=0
  21. spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_50215_99991
  22. #spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_10212
  23. mongodb.options.maxWaitTime = 120000
  24. mongodb.options.connectTimeout = 1000
  25. mongodb.options.socketTimeout = 0
  26. mongodb.options.threadsAllowedToBlockForConnectionMultiplier = 20
  27. mongodb.options.connectionsPerHost = 256
  28. mongodb.options.minConnectionsPerHost = 5
  29. mongodb.options.maxConnectionIdleTime = 1000
  30. netty.tcpPort = 36080
  31. netty.tcpIp = 60.1.1.215
  32. netty.reconnectDelay=3000
  33. netty.bossThreadCount=1
  34. netty.workerThreadCount=10
  35. netty.readTimeout=32
  36. netty.writeTimeout=32
  37. netty.allTimeout=35
  38. #core
  39. services.core.ip=60.1.1.215
  40. services.core.port=27900
  41. services.core.area=1000
  42. services.core.id=1
  43. services.core.weight=5
  44. logging.config = conf/logback-boot.xml