2013-08-29 05:44:45 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
"network": "tcp",
|
|
|
|
"addr": ":80",
|
|
|
|
|
|
|
|
"cache": {
|
|
|
|
"driver": "redis",
|
2013-08-31 21:06:42 +02:00
|
|
|
"network": "tcp",
|
2013-08-29 05:44:45 +02:00
|
|
|
"host": "127.0.0.1",
|
|
|
|
"port": "6379",
|
|
|
|
"user": "root",
|
|
|
|
"pass": "",
|
|
|
|
"prefix": "test:",
|
|
|
|
|
|
|
|
"max_idle_conn": 3,
|
2013-08-31 21:06:42 +02:00
|
|
|
"idle_timeout": "240s"
|
2013-08-29 05:44:45 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"storage": {
|
|
|
|
"driver": "batter",
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
"port": "5432",
|
|
|
|
"user": "postgres",
|
|
|
|
"pass": ""
|
|
|
|
},
|
|
|
|
|
|
|
|
"private": true,
|
|
|
|
"freeleech": false,
|
|
|
|
|
|
|
|
"announce": "30m",
|
|
|
|
"min_announce": "15m",
|
|
|
|
"read_timeout": "20s",
|
|
|
|
"default_num_want": 50,
|
|
|
|
|
|
|
|
"tx_retries": 3
|
|
|
|
|
|
|
|
}
|