mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-27 08:00:00 -07:00
transition to httprouter
This commit is contained in:
20
example.json
20
example.json
@@ -1,25 +1,21 @@
|
||||
{
|
||||
"network": "tcp",
|
||||
"addr": ":34000",
|
||||
"addr": ":6881",
|
||||
|
||||
"tracker": {
|
||||
"driver": "redis",
|
||||
"network": "tcp",
|
||||
"host": "127.0.0.1",
|
||||
"port": "6379",
|
||||
"user": "root",
|
||||
"pass": "",
|
||||
"prefix": "test:",
|
||||
"driver": "mock"
|
||||
},
|
||||
|
||||
"max_idle_conns": 3,
|
||||
"idle_timeout": "240s"
|
||||
"backend": {
|
||||
"driver": "mock"
|
||||
},
|
||||
|
||||
"private": true,
|
||||
"freeleech": false,
|
||||
"whitelist": false,
|
||||
|
||||
"announce": "30m",
|
||||
"min_announce": "15m",
|
||||
"read_timeout": "20s",
|
||||
"request_timeout": "10s",
|
||||
"default_num_want": 50
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user