CulverLab / CulverLab/sparcd-web

Make upload moves into a separate task

Open
#154 0 comments 0 reactions 0 assignees View on GitHub
Priority Medium Usability
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Have an independent task that performs the moving of the upload

Currently the moves are done while the user waits. This should be delegated to a separate task

Currently there are two options (not mutually exclusive):
- [ ] Have the code currently handling the upload start the new task for the upload
- [ ] Have a cron job to perform the upload

Other:
- Possibly, have a table in the database of upload move tasks that can be read by the cron job or the new task
- Drawbacks of starting new tasks, it makes it easy to flood the server with new tasks if many uploads need to be moved (does happen)
- A table would allow batching of upload moves
- Each move completion would have its own success/failure in-app message

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.