bcgov / nr-wrf

Air quality dispersion data publication app
Apache License 2.0
3 stars 0 forks source link

Timeout improvements #82

Closed mgtennant closed 1 year ago

mgtennant commented 1 year ago

Changed the zip file request to tell Nest to begin downloading and zipping the files and then return a uuid.

After this request, the uuid is used by another route that checks if the zip file has been generated yet. This route gets used by the frontend every 3 seconds and updates the progress display. Once this route returns that the zip file is ready, the popup displays a download link. After downloading, the zip file is deleted (the files are deleted after zipping completes and before the file is downloaded). If the file download link is not clicked, the zip file will be automatically deleted by a cron job after it has existed for over a day.


Thanks for the PR!

Any successful deployments (not always required) will be available below. Backend available Frontend available

Once merged, code will be promoted and handed off to following workflow run. Main Merge Workflow