Skip to content

Make Session ratelimits accessible from outside of crate#329

Merged
ikatson merged 1 commit intoikatson:mainfrom
InoUno:pub-ratelimits
Feb 18, 2025
Merged

Make Session ratelimits accessible from outside of crate#329
ikatson merged 1 commit intoikatson:mainfrom
InoUno:pub-ratelimits

Conversation

@InoUno
Copy link
Copy Markdown
Contributor

@InoUno InoUno commented Feb 18, 2025

I'm using the librqbit crate directly as a part of my codebase, and would like to be able to change the rate limits while a session is active.

As far as I can see this is currently only possible via the HTTP API? This PR simply makes the ratelimits field public, such that it's possible to change it directly if you're a consumer of the crate.

@ikatson ikatson merged commit fea00e2 into ikatson:main Feb 18, 2025
5 checks passed
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.

2 participants