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

[FR]: Increase API timeout #343

Closed
2 tasks
BaukeZwart opened this issue Jun 21, 2023 · 1 comment · Fixed by #344
Closed
2 tasks

[FR]: Increase API timeout #343

BaukeZwart opened this issue Jun 21, 2023 · 1 comment · Fixed by #344
Assignees
Labels
feature request New feature or request status:added-to-develop Feature Request or Bug Fix is in Develop

Comments

@BaukeZwart
Copy link

Is your feature request related to a problem? Please elaborate.

don't know if it is in your control or hard coded in the qbit API but is it possible to increase the timeout.
When my qbit instances reach around 10K torrents, I noticed that qbm often fails to connect due to API errors.
Now during the summer months with fewer releases it's less of an issue, but starting September it will be an issue again to keep the total number of torrent well below 10K.

Discord discussion
https://discord.com/channels/764440599066574859/921548253948964904/1121132898838380626
https://discord.com/channels/764440599066574859/921548253948964904/1121133384488456242

Describe the solution you'd like

If possible, make the timeout configurable or increase it

Does your solution involve any of the following?

  • New config option
  • New command option

Describe alternatives you've considered

Keep the number of torrents well below 10K

Who will this benefit?

everyone with a large number of torrents

Additional Information

No response

@BaukeZwart BaukeZwart added the feature request New feature or request label Jun 21, 2023
@bakerboy448
Copy link
Collaborator

bakerboy448 commented Jun 21, 2023

looks like just need to update (and maybe other calls?)

def get_torrents(self, params):

based on qbit api
https://qbittorrent-api.readthedocs.io/en/latest/behavior%26configuration.html#requests-configuration

@bobokun bobokun added the status:added-to-develop Feature Request or Bug Fix is in Develop label Jun 24, 2023
bobokun added a commit that referenced this issue Jun 24, 2023
@bobokun bobokun mentioned this issue Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request status:added-to-develop Feature Request or Bug Fix is in Develop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants