add retry mechanism for chain

This commit is contained in:
rui.zheng 2017-11-15 15:54:29 +08:00
parent 003c5a5085
commit cd26bcb81d
2 changed files with 10 additions and 2 deletions

View File

@ -60,8 +60,6 @@ func init() {
fmt.Fprintf(os.Stderr, "gost %s (%s)\n", gost.Version, runtime.Version())
os.Exit(0)
}
log.Log("Debug:", gost.Debug)
}
func main() {

10
cmd/gost/peer.json Normal file
View File

@ -0,0 +1,10 @@
{
"strategy": "round",
"max_fails": 3,
"fail_timeout": 30,
"nodes":[
"socks5://:1081",
"socks://:1082",
"socks4a://:1083"
]
}