Why don't you move a file to a folder first, and then queue a file upload?
Processing file uploads in the background
As per my knowledge, there's no current way where a file will be passed to a job because of serialisation and other factors. That said, is there a way to process file uploads in the background or has anyone had this use case before and how did you go about it.
Use Case
I am running a small Laravel 7 app at work where the users can upload some files that come in.The files are then uploaded to Digital Ocean Spaces and some records in the database updated after a successful upload.
I have noticed when a lot of users are uploading at the same time there's an increase in load hence my reason for wanting to process the file uploads using a job.
Any advise or tips could really help.
Please or to participate in this conversation.