-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
58 lines (48 loc) · 1.38 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
####################
# 配置文件 #
####################
# Morego initialization file, generally called config.ini, is responsible for
# configuring many of the aspects of Zeromore behavior.
name = "ueli server"
enable = true
status = "dev"
version = "1.0"
loglevel = "error"
single_mode = false
[log]
log_level = "error"
log_behind_type = "mongodb"
mongodb_host = "localhost"
mongodb_port = "27017"
[admin]
http_port = "9090"
[connector]
websocket_port = 9898
socket_port = 7002
max_conections = 5024
max_packet_rate = 100
max_conntions_ip= 100
max_packet_rate_unit = 10
auth_cmds = ["Auth","Authorize"]
[object]
data_type = "redis" # Mysql| redis | monogo
redis_host = "127.0.0.1"
redis_port = "6379"
redis_password = ""
monogo_host = "localhost"
monogo_port = 27017
mysql_host = "localhost"
mysql_port = 3306
mysql_password = ""
[worker]
# 在分布式模式下 连接到worker servers的ip和端口
to_servers = [
["127.0.0.1","8001" ,"go"],
["127.0.0.1","8002" ,"go"] ,
["127.0.0.1","8003" ,"go"] ]
#["192.168.3.254", "8002","php"]
[hub]
hub_host = "127.0.0.1"
hub_port = "7302"
[area]
init_area = ["area-global", "area-global2", "area-global3"]