akash-network / support

Akash Support and Issue Tracking
Apache License 2.0
5 stars 4 forks source link

[provider]: increase `ManifestServiceExposeHTTPOptions.MaxBodySize` from `uint32` #156

Open ishandhanani opened 10 months ago

ishandhanani commented 10 months ago

Describe the bug

We are trying to increase the upload size to a Jupyter Notebook instance to around 5GB. However, due to the uint32 limit, we cannot increase past ~4GB.

To Reproduce Steps to reproduce the behavior: Create an SDL with the http_options shown above. The cloudmos proxy throws

Status code was not success (422) : json: cannot unmarshal number 5368709120 into Go struct field ServiceExposeHTTPOptions.services.expose.httpOptions.maxBodySize of type uint32

Expected behavior This is expected as the limit is uint32

Potential fix Increase that field to uint64. The relevant code is here. Thank you!