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.
是否有任何回调,会在使用 create-method 的 10 分钟后调用一个方法?示例:上传了一张图片,调用了 create 方法,10 分钟后应该调用另一个方法。
提前致谢
你有几个选择:
Resque https://github.com/defunkt/resque
延迟作业https://github.com/collectiveidea/delayed_job
替代方案将涉及阻止您的应用程序(不是一个选项)或查看并发性。