Remove proxies when they return an invalid response
Linus045 opened this issue · 0 comments
Linus045 commented
As mentioned here https://github.com/CyberPunkMetalHead/gateio-crypto-trading-bot-binance-announcements-new-coins/pull/139/files#r799489313 when a proxy is used and an invalid response code (429) is received we should either remove the proxy from the list of useable proxies or give it some kind of delay (5 min or something) until we use it again.
We should also consider the case when there is no valid proxy available.
Currently we default to using no proxy, maybe we wanna force pull new proxies in that case?