diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-07-20 21:40:53 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2018-07-20 21:40:53 +0200 |
commit | 7b3ead3b26682ee331e0e67eb4e3962742f9aa5e (patch) | |
tree | 656df211b98d7e03ffbdf61d602ada6d0a75d377 /activejob/lib/active_job | |
parent | 3a76ead5291994e022153768915909c058733e41 (diff) | |
download | rails-7b3ead3b26682ee331e0e67eb4e3962742f9aa5e.tar.gz rails-7b3ead3b26682ee331e0e67eb4e3962742f9aa5e.tar.bz2 rails-7b3ead3b26682ee331e0e67eb4e3962742f9aa5e.zip |
[ci skip] Fixup changelog. Trim title. Mention benefit.
Diffstat (limited to 'activejob/lib/active_job')
-rw-r--r-- | activejob/lib/active_job/logging.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activejob/lib/active_job/logging.rb b/activejob/lib/active_job/logging.rb index d17c772f30..9ffd60ad53 100644 --- a/activejob/lib/active_job/logging.rb +++ b/activejob/lib/active_job/logging.rb @@ -29,11 +29,11 @@ module ActiveJob around_enqueue do |job, block| if job.scheduled_at - ActiveSupport::Notifications.instrument "enqueue_at.active_job", - adapter: job.class.queue_adapter, job: job, &block + ActiveSupport::Notifications.instrument("enqueue_at.active_job", + adapter: job.class.queue_adapter, job: job, &block) else - ActiveSupport::Notifications.instrument "enqueue.active_job", - adapter: job.class.queue_adapter, job: job, &block + ActiveSupport::Notifications.instrument("enqueue.active_job", + adapter: job.class.queue_adapter, job: job, &block) end end end |