更新时间:2021-08-19 22:18:19
让处理初始请求的脚本在处理队列中创建一个条目,然后立即返回.然后,创建一个单独的进程(也许通过cron),该进程定期运行队列中所有待处理的作业.
Have the script that handles the initial request create an entry in a processing queue, and then immediately return. Then, create a separate process (via cron maybe) that regularly runs whatever jobs are pending in the queue.