Closed AltayDev closed 11 months ago
The problem is due to the fact that the cache item has a lifetime of 20 minutes. So if user upload a large file, the loading time can be higher than 20 minutes and the correlation ID of the batch request is removed from the cache.
We will improve how we handle batch request.
thanks to https://github.com/massalabs/station-massa-wallet/pull/778 the developer will be able to customize the cache lifetime by setting this environment variable: BATCH_EXPIRATION_TIME
The value must follow input requirement of https://pkg.go.dev/time#ParseDuration, for example "50m" for 50 minutes
@AltayDev is this still blocking you? if not, @SlnPons I suggest to improve that in the woc rework.
As we got no answer, I'll close this issue and I can confirm you that the upload speed is part of the improvements identified for this product :)
The problem(s) It takes 29 minutes to upload zip files larger than 14 MB and then error.
To Reproduce My Steps
$env:UPLOAD_MAX_SIZE = "1000000000".
curl -X PUT -F "url=name" -F "nickname=Altay" -F "description=website des" -F "zipfile=@build.zip" http://station.massa/websiteUploader/prepare
MassaStation version massastation_0.3.4_amd64.msi
Desktop (please complete the following information):