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:",
|
|
|
|
|
2013-09-07 00:39:14 +02:00
|
|
|
"max_idle_conns": 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
|
|
|
|
|
|
|
|
}
|