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

Add support to configure requests pool options #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

froggleston
Copy link
Collaborator

This PR adds support to control the number and size of pooled connections for the requests HTTPAdapter. If you're using quite a lot of bots within FTUI, the pool can become saturated and warnings will appear in the terminal. Increasing the pool_connections and pool_maxsize properties can help with this.

These two options:

  • can now be supplied in the FTUI config yaml or on the command line if using a freqtrade config file
  • default to higher numbers than the requests library/ft rest client defaults (10 and 10, respectively are now 20 and 10)

@froggleston froggleston requested a review from xmatthias January 23, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant