Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove proxies when they return an invalid response #170

Open
Linus045 opened this issue Feb 8, 2022 · 0 comments
Open

Remove proxies when they return an invalid response #170

Linus045 opened this issue Feb 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Linus045
Copy link
Collaborator

Linus045 commented Feb 8, 2022

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?

@Linus045 Linus045 added the enhancement New feature or request label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant