Load proxy list before client connections and reload periodically
This commit is contained in:
@@ -34,11 +34,13 @@ type WorkerServerConfig struct {
|
||||
}
|
||||
|
||||
type ClientConfig struct {
|
||||
ConnectionsCount int
|
||||
ConnectionTimeout int // In seconds
|
||||
WaitingTimeout int // In seconds
|
||||
WorkerServerAddress string
|
||||
RequestMessagePrefix string
|
||||
ProxyListBaseURL string
|
||||
CustomSOCKS5ProxyList []ProxyServer
|
||||
ConnectionsCount int
|
||||
ConnectionTimeout int // In seconds
|
||||
WaitingTimeout int // In seconds
|
||||
WorkerServerAddress string
|
||||
RequestMessagePrefix string
|
||||
ProxyListBaseURL string
|
||||
ProxyListTimeout int // In seconds
|
||||
ProxyListReloadInterval int // In minutes
|
||||
CustomSOCKS5ProxyList []ProxyServer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user