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

truncate unused_ports to reduce the size of app_versions.json #37

Closed
wants to merge 1 commit into from

Conversation

stavros-k
Copy link
Contributor

@stavros-k stavros-k commented Jul 24, 2024

The generated app_versions.json file is HUGE due to the unused ports.
Considering the values are generated on the fly each time, I think the app_versions.json does not need to list all the ports, just 1 or 2 or 3. or maybe 0?

https://raw.githubusercontent.com/truenas/apps/09c9e5f1205127b475a023290a8e266c1361a5e4/trains/charts/plex/app_versions.json

I'm not sure if this is the right place to manipulate this. Feel free to update or make a new PR!

@yocalebo
Copy link

@Qubad786 @sonicaj this is bad design. We need to fix the json.

@Qubad786
Copy link
Contributor

@stavros-k i'll fix this in https://ixsystems.atlassian.net/browse/NAS-130223 - changes currently won't cater to this

@Qubad786 Qubad786 closed this Jul 24, 2024
@stavros-k stavros-k deleted the app-versions-size branch July 25, 2024 14:47
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