1 Star 0 Fork 0

saga/goworld

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
goworld_travis.ini 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
caohaige 提交于 2019-05-15 14:22 . saga: init
[debug]
debug = 1 ; set to 0 in production
[deployment]
desired_dispatchers=2
desired_games=2
desired_gates=2
[storage]
type=mongodb
url=mongodb://127.0.0.1:27017/
db=goworld
;type=redis
;url=redis://127.0.0.1:6379
;db=0
;type=redis_cluster
;start_nodes_1=127.0.0.1:6379
;start_nodes_2=127.0.0.2:6379
;type=sql
;driver=mysql
;url=root:testmysql@tcp(127.0.0.1:3306)/goworld
[kvdb]
type=mongodb
url=mongodb://127.0.0.1:27017/goworld
db=goworld
collection=__kv__
;type=redis
;url=redis://127.0.0.1:6379
;db=1
;type=sql
;driver=mysql
;url=root:testmysql@tcp(127.0.0.1:3306)/goworld
;type=redis_cluster
;start_nodes_1=127.0.0.1:6379
;start_nodes_2=127.0.0.2:6379
[dispatcher_common]
listen_addr=127.0.0.1:13000
advertise_addr=127.0.0.1:13000
http_addr=127.0.0.1:23000
log_file=dispatcher.log
log_stderr=true
log_level=debug
[dispatcher1]
listen_addr=127.0.0.1:13001
advertise_addr=127.0.0.1:13001
http_addr=127.0.0.1:23001
[dispatcher2]
listen_addr=127.0.0.1:13002
advertise_addr=127.0.0.1:13002
http_addr=127.0.0.1:23002
[game_common]
boot_entity=Account
save_interval=600
log_file=game.log
log_stderr=true
http_addr=127.0.0.1:25000
log_level=debug
position_sync_interval_ms=100 ; position sync: server -> client
; gomaxprocs=0
[game1]
http_addr=25001
; ban_boot_entity=false
[game2]
http_addr=25002
;ban_boot_entity=false
;[game3]
;http_addr=25003
;;ban_boot_entity=false
[gate_common]
; gomaxprocs=0
log_file=gate.log
log_stderr=true
http_addr=127.0.0.1:24000
listen_addr=0.0.0.0:14000
log_level=debug
compress_connection=0
; supported compress formats: gwsnappy|snappy|flate|lz4|lzw
compress_format=gwsnappy
encrypt_connection=0
rsa_key=rsa.key
rsa_certificate=rsa.crt
heartbeat_check_interval = 0
position_sync_interval_ms=100 ; position sync: client -> server
[gate1]
listen_addr=0.0.0.0:14001
http_addr=127.0.0.1:24001
[gate2]
listen_addr=0.0.0.0:14002
http_addr=127.0.0.1:24002
;[gate3]
;listen_addr=0.0.0.0:14003
;http_addr=127.0.0.1:24003
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/sagacao/goworld.git
git@gitee.com:sagacao/goworld.git
sagacao
goworld
goworld
master

搜索帮助