application-core.properties 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #server info
  2. server.id = 10180
  3. server.openTime = 20190101000101
  4. # redis config
  5. # Redis数据库索引(默认为0)
  6. spring.redis.database=0
  7. # Redis服务器地址
  8. spring.redis.host=60.1.1.14
  9. # Redis服务器连接端口
  10. spring.redis.port=6379
  11. # Redis服务器连接密码(默认为空)
  12. spring.redis.password=
  13. # 连接池最大连接数(使用负值表示没有限制)
  14. spring.redis.pool.max-active=8
  15. # 连接池最大阻塞等待时间(使用负值表示没有限制)
  16. spring.redis.pool.max-wait=-1
  17. # 连接池中的最大空闲连接
  18. spring.redis.pool.max-idle=8
  19. # 连接池中的最小空闲连接
  20. spring.redis.pool.min-idle=0
  21. # 连接超时时间(毫秒)
  22. spring.redis.timeout=0
  23. spring.redis.expireTime = -1
  24. #spring.data.mongodb.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/ysj_wx_1
  25. #spring.data.mongodb2.uri = mongodb://mongouser:ysj#2017#ljsd@111.231.54.96:27017/develop_ysj_wx_1
  26. #mongodb2 develop
  27. spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_msy
  28. mongodb.options.maxWaitTime = 120000
  29. mongodb.options.connectTimeout = 1000
  30. mongodb.options.socketTimeout = 0
  31. mongodb.options.threadsAllowedToBlockForConnectionMultiplier = 20
  32. mongodb.options.connectionsPerHost = 256
  33. mongodb.options.minConnectionsPerHost = 5
  34. mongodb.options.maxConnectionIdleTime = 1000
  35. # netty config
  36. netty.tcpPort = 16080
  37. netty.chatTcpPort = 20001
  38. netty.logintcpPort = 18091
  39. netty.udpPort = 18092
  40. netty.udpTargetIp=127.0.0.1
  41. netty.udpTargetPort=10001
  42. netty.reconnectDelay=3000
  43. netty.bossThreadCount=1
  44. netty.workerThreadCount=10
  45. netty.readTimeout=32
  46. netty.writeTimeout=32
  47. netty.allTimeout=35
  48. #core
  49. services.core.ip=60.1.1.153
  50. services.core.port=7900
  51. services.core.area=1000
  52. services.core.id=1
  53. services.core.weight=5
  54. logging.config = conf/logback-boot.xml