Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将resque用于后台任务。 如何在后台任务处理时显示动画微调器? 我发现了一个类似的问题,但它对我没有帮助
当我以前这样做时,我总是在对象进入 Resque 后在数据库中的对象本身上设置一个标志,然后在 Resque 任务中完成工作后,再次更新该标志。您可以使用 AJAX 来监视该标志的状态并相应地操作页面/微调器。