-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous file operations #28395
Comments
We currentyl already have kind of an API for things like that 74ae7b8 For more immediate use in any user triggered action it would require the job execution to be more real-time than a probably running cron job. Some ideas from #30359 (comment)
But one thing that also needs to be considered is to have a fallback or failure detection in case the worker is not setup or not processing fast enough. |
Some additional context: WebDAV mentions that there is a 102 Pending http status http://webdav.org/specs/rfc2518.html#STATUS_102 but there doesn't seem to be any reference on how the pending state could be rechecked from the client side. |
This is more about REST, but we can do it similar? From my understanding it would then be something like
|
@juliushaertl Do you have any updates on this front? 🙏 |
Long running file operations like copy or move requests are very prone to timeouts, which means that there might be an inconsistent state if a request gets aborted due to a webserver or php timeout.
Opening this ticket to keep track of further ideas to optimize that in terms that the heavy lifting could be done asynchronously in some background process. Not meant as a concrete implementation suggestion yet.
Some ideas:
Possible process for a upload:
The text was updated successfully, but these errors were encountered: