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

Allow for the firmware file size limit to be configurable #1746

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

joshk
Copy link
Collaborator

@joshk joshk commented Jan 8, 2025

This allows for the firmware file size upload limit to be adjusted via runtime env var.

This also restrictions large file uploads to only the firmwares api route.

I'd also like this to be configurable per org, such that free users can only upload smaller firmware sizes, but thats for a different discussion.

@joshk joshk force-pushed the configurable-firmware-file-upload-size-limit branch from e70711d to 4d68c7a Compare January 8, 2025 23:55
@joshk joshk force-pushed the configurable-firmware-file-upload-size-limit branch from 4d68c7a to 827202c Compare January 10, 2025 00:19
@joshk joshk requested review from jjcarstens, lawik and nshoes January 10, 2025 02:54
Copy link
Contributor

@lawik lawik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems smart :)

@joshk joshk merged commit 9e597df into main Jan 11, 2025
2 checks passed
@joshk joshk deleted the configurable-firmware-file-upload-size-limit branch January 11, 2025 00:07
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.

3 participants