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.
如何防止 Rails 应用程序中长时间运行的代码
Rails 代码块需要更多时间来处理。如何守护代码块或在后台运行它。
我在这里回答 -如何从 Rails 控制器异步运行 ruby 脚本?
无论如何,您可以为您的任务选择首选:https ://www.ruby-toolbox.com/categories/Background_Jobs