miduo_server/worldserver/src/main/resources/application.properties

58 lines
1.4 KiB
Properties
Raw Normal View History

2020-12-07 15:31:30 +08:00
#server info
server.id = 20161
server.openTime = 20190101000102
server.num = 1
server.sendlog37 = true
server.logDir = D:/jielin/logs
server.guildFight = false
#tapad appid
server.appId = c5c1615b7c3741fbacbcc3cc8fd751e9
server.autoOpen = true
server.debug = true
#mongodb2 develop
spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_20161
spring.data.mongodbcore.uri = mongodb://60.1.1.14:27017/jl_core
#spring.data.mongodb.uri = mongodb://60.1.1.14:27017/jieling_10212
mongodb.options.maxWaitTime = 120000
mongodb.options.connectTimeout = 1000
mongodb.options.socketTimeout = 0
mongodb.options.threadsAllowedToBlockForConnectionMultiplier = 5
mongodb.options.connectionsPerHost = 10
mongodb.options.minConnectionsPerHost = 5
mongodb.options.maxConnectionIdleTime = 1000
2020-11-19 17:24:22 +08:00
spring.redis.host=60.1.1.21
2020-12-03 21:02:17 +08:00
spring.redis.port=6379
2020-11-19 17:24:22 +08:00
spring.redis.password=
spring.redis.pool.max-active=8
spring.redis.pool.max-wait=-1
spring.redis.pool.max-idle=8
spring.redis.pool.min-idle=0
2020-12-03 21:02:17 +08:00
# netty config
netty.tcpPort = 18080
netty.chatTcpPort = 20001
netty.logintcpPort = 18091
netty.udpPort = 18092
netty.udpTargetIp=60.1.1.212
netty.udpTargetPort=10001
netty.reconnectDelay=3000
netty.bossThreadCount=1
netty.workerThreadCount=10
netty.readTimeout=10
netty.writeTimeout=10
netty.allTimeout=10
#core thrift
2020-11-19 20:33:41 +08:00
services.core.ip=60.1.1.161
2020-11-19 17:24:22 +08:00
services.core.port=18080
services.core.area=1000
services.core.id=1
services.core.weight=5
logging.config = conf/logback-boot.xml