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

New config option: max torrent upload size #727

Open
josecelano opened this issue Sep 10, 2024 · 0 comments
Open

New config option: max torrent upload size #727

josecelano opened this issue Sep 10, 2024 · 0 comments
Labels
- Admin - Enjoyable to Install and Setup our Software - User - Enjoyable to Use our Software Enhancement / Feature Request Something New
Milestone

Comments

@josecelano
Copy link
Member

josecelano commented Sep 10, 2024

Relates to: torrust/torrust-demo#13

The max torrent file upload size is hardcoded to 10 MB.

   router
        .layer(DefaultBodyLimit::max(10_485_760))

We should add a new config option:

[API]
max_upload_torrent_size = 10485760

cc @da2ce7

@josecelano josecelano added Enhancement / Feature Request Something New - User - Enjoyable to Use our Software - Admin - Enjoyable to Install and Setup our Software labels Sep 10, 2024
@josecelano josecelano added this to the v3.1.0 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Admin - Enjoyable to Install and Setup our Software - User - Enjoyable to Use our Software Enhancement / Feature Request Something New
Projects
None yet
Development

No branches or pull requests

1 participant