mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Reword doc for around_enqueue callback
Taken literally, the documentation suggests that the callback gets called twice (before and after enqueueing). By wording it similarly to that of around_perform this confusion is avoided.
This commit is contained in:
parent
9b2a884522
commit
ad9882369a
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ module ActiveJob
|
||||||
set_callback(:enqueue, :after, *filters, &blk)
|
set_callback(:enqueue, :after, *filters, &blk)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines a callback that will get called before and after the
|
# Defines a callback that will get called around the enqueueing
|
||||||
# job is enqueued.
|
# of the job.
|
||||||
#
|
#
|
||||||
# class VideoProcessJob < ActiveJob::Base
|
# class VideoProcessJob < ActiveJob::Base
|
||||||
# queue_as :default
|
# queue_as :default
|
||||||
|
|
Loading…
Reference in a new issue