From 4daac50a1a0fa7b6b86d7ff11269cb13c1dcdea5 Mon Sep 17 00:00:00 2001 From: Bilal Date: Fri, 22 May 2020 15:58:25 +0200 Subject: [PATCH 1/3] add env for proxy timeout and interval --- example.env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example.env b/example.env index f3a1555..b535124 100644 --- a/example.env +++ b/example.env @@ -6,4 +6,6 @@ CLIENT_WAITING_TIMEOUT = Number of seconds to wait for request from server WORKER_SERVER_ADDRESS = Address in form of IP:PORT (127.0.0.1:1338) REQUEST_MESSAGE_PREFIX = Prefix that worker server adds to the request message when sending to the worker client. Use double quotes if prefix has a space (eg. "URL ") PROXY_LIST_BASE_URL = Base url where proxy list can be fetched. Proxy type(https, socks5) will be concatenated to this URL +PROXY_LIST_TIMEOUT = Wait PROXY_LIST_TIMEOUT seconds for proxy list before dropping request +PROXY_LIST_RELOAD_INTERVAL = Refresh proxy list every PROXY_LIST_RELOAD_INTERVAL minutes CUSTOM_SOCKS5_PROXY_LIST = List of proxies to append on list from PROXY_LIST_BASE_URL, comma separated (ip:port, ip:port, ...) \ No newline at end of file From c1f36d63029f6121abe2050148ac85f4fddb0381 Mon Sep 17 00:00:00 2001 From: Bilal Date: Fri, 22 May 2020 16:10:21 +0200 Subject: [PATCH 2/3] add env for fetching timeout --- example.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example.env b/example.env index b535124..f928c18 100644 --- a/example.env +++ b/example.env @@ -8,4 +8,5 @@ REQUEST_MESSAGE_PREFIX = Prefix that worker server adds to the request message w PROXY_LIST_BASE_URL = Base url where proxy list can be fetched. Proxy type(https, socks5) will be concatenated to this URL PROXY_LIST_TIMEOUT = Wait PROXY_LIST_TIMEOUT seconds for proxy list before dropping request PROXY_LIST_RELOAD_INTERVAL = Refresh proxy list every PROXY_LIST_RELOAD_INTERVAL minutes -CUSTOM_SOCKS5_PROXY_LIST = List of proxies to append on list from PROXY_LIST_BASE_URL, comma separated (ip:port, ip:port, ...) \ No newline at end of file +CUSTOM_SOCKS5_PROXY_LIST = List of proxies to append on list from PROXY_LIST_BASE_URL, comma separated (ip:port, ip:port, ...) +FETCH_TIMEOUT = Timeout in seconds after which proxy connection is dropped \ No newline at end of file From 8438a673da1d4006957042a99ac38b584c7a3ff0 Mon Sep 17 00:00:00 2001 From: Bilal Date: Fri, 22 May 2020 16:10:37 +0200 Subject: [PATCH 3/3] add env for fetching timeout --- example.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.env b/example.env index f928c18..4d6eb76 100644 --- a/example.env +++ b/example.env @@ -9,4 +9,4 @@ PROXY_LIST_BASE_URL = Base url where proxy list can be fetched. Proxy type(https PROXY_LIST_TIMEOUT = Wait PROXY_LIST_TIMEOUT seconds for proxy list before dropping request PROXY_LIST_RELOAD_INTERVAL = Refresh proxy list every PROXY_LIST_RELOAD_INTERVAL minutes CUSTOM_SOCKS5_PROXY_LIST = List of proxies to append on list from PROXY_LIST_BASE_URL, comma separated (ip:port, ip:port, ...) -FETCH_TIMEOUT = Timeout in seconds after which proxy connection is dropped \ No newline at end of file +FETCH_TIMEOUT = Timeout in seconds after which fetch connection is dropped \ No newline at end of file