add retry mechanism for chain
This commit is contained in:
parent
003c5a5085
commit
cd26bcb81d
@ -60,8 +60,6 @@ func init() {
|
|||||||
fmt.Fprintf(os.Stderr, "gost %s (%s)\n", gost.Version, runtime.Version())
|
fmt.Fprintf(os.Stderr, "gost %s (%s)\n", gost.Version, runtime.Version())
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Log("Debug:", gost.Debug)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
10
cmd/gost/peer.json
Normal file
10
cmd/gost/peer.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"strategy": "round",
|
||||||
|
"max_fails": 3,
|
||||||
|
"fail_timeout": 30,
|
||||||
|
"nodes":[
|
||||||
|
"socks5://:1081",
|
||||||
|
"socks://:1082",
|
||||||
|
"socks4a://:1083"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user