mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-28 00:20:01 -07:00
Add example configuration and update README
This commit is contained in:
25
example.json
Normal file
25
example.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"network": "tcp",
|
||||
"addr": ":34000",
|
||||
|
||||
"tracker": {
|
||||
"driver": "redis",
|
||||
"network": "tcp",
|
||||
"host": "127.0.0.1",
|
||||
"port": "6379",
|
||||
"user": "root",
|
||||
"pass": "",
|
||||
"prefix": "test:",
|
||||
|
||||
"max_idle_conns": 3,
|
||||
"idle_timeout": "240s"
|
||||
},
|
||||
|
||||
"private": true,
|
||||
"freeleech": false,
|
||||
|
||||
"announce": "30m",
|
||||
"min_announce": "15m",
|
||||
"read_timeout": "20s",
|
||||
"default_num_want": 50
|
||||
}
|
||||
Reference in New Issue
Block a user