-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
38 lines (34 loc) · 794 Bytes
/
config.json
File metadata and controls
38 lines (34 loc) · 794 Bytes
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
{
"client":{
"log_path" : "./achat_cli.log",
"log_level": "DEBUG",
"timeout_ms" : 2000,
"max_message_len": 80000,
"message_len_divided": 800,
"checktime_s" : 1
},
"server":{
"server_port" : 58771,
"server_ip" : "127.0.0.1",
"max_connect_num" : 128,
"max_send_message" : 100,
"max_offline_message":100,
"log_path" : "./achat_serv.log",
"log_level": "DEBUG",
"send_message_timeout_ms": 1000,
"checktime_s": 1
},
"master":{
"heartbeat_timeout_ms":2000
},
"redis":{
"ip":"127.0.0.1",
"port":6379,
"expire_s":600
},
"mysql":{
"ip":"127.0.0.1",
"user":"root",
"password":"123"
}
}