PathmindAI / pathmind-webapp

The Pathmind Webapp
https://dev.devpathmind.com
Apache License 2.0
1 stars 0 forks source link

What is the maximum file size for a new project model.zip file? #46

Closed FollowSteph closed 5 years ago

FollowSteph commented 5 years ago

Tomcat is setup by default to be 10mb so we may need to adjust the server.

treo commented 5 years ago

10mb is fine for now. The typical size is just a few hundred KB. However, we should make it explicit and document that there are two places where it may have to be adjusted (the ui + the server configuration).

As this runs as a single uberjar, and not as a war inside of some application server, we can adjust it in the application.properties file. This should also make the value available for autowiring into the UI. So that may be an option to show the actually configured maximal file upload size.

FollowSteph commented 5 years ago

Although @treo answered it and we're going with that I also assigned it to you both so that you're aware of this cap. Please go ahead and close it.