Details
-
Type: Bug
-
Status: Reopened
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: Current Version
-
Fix Version/s: None
-
Component/s: OIOIOI
-
Labels:None
Description
When you try to export submissions, it will take a long time to generate an archive, and before OIOIOI starts sending it, it is likely that either a reverse proxy or the browser will time out.
One way to fix this would be to generate the archive asynchronously, and immediately send a response to the user stating that the archive will be available shortly. When the user refreshes the page, and the archive is already ready, the page will show a download link to the archive instead.
Another way could possibly be to start streaming the response while the archive is still being generated. Theoretically, tar should be capable of that. Not sure about Django.
One way to fix this would be to generate the archive asynchronously, and immediately send a response to the user stating that the archive will be available shortly. When the user refreshes the page, and the archive is already ready, the page will show a download link to the archive instead.
Another way could possibly be to start streaming the response while the archive is still being generated. Theoretically, tar should be capable of that. Not sure about Django.
Issue Links
- is duplicated by
-
SIO-2392 Exportszu times out
Feel free to reopen it or create a new one if it's still relevant.