提交 e4017d02 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #30645 from yhirano55/use_application_job_instead_of_active_job_base

Use ApplicationJob instead of ActiveJob::Base in guide [ci skip]
......@@ -395,7 +395,7 @@ It's also possible to retry or discard a job if an exception is raised during ex
For example:
```ruby
class RemoteServiceJob < ActiveJob::Base
class RemoteServiceJob < ApplicationJob
retry_on CustomAppException # defaults to 3s wait, 5 attempts
discard_on ActiveJob::DeserializationError
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册