Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix spelling errors

  • Loading branch information...
commit 4d9a4a1fdc59fe433ce8eea72844dc45f3414f27 1 parent 7d94a00
@bkeepers bkeepers authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/delayed/job.rb
View
6 lib/delayed/job.rb
@@ -80,10 +80,10 @@ def reschedule(message, backtrace = [], time = nil)
# Try to run one job. Returns true/false (work done/work failed) or nil if job can't be locked.
def run_with_lock(max_run_time, worker_name)
- logger.info "* [JOB] aquiring lock on #{name}"
+ logger.info "* [JOB] acquiring lock on #{name}"
unless lock_exclusively!(max_run_time, worker_name)
# We did not get the lock, some other worker process must have
- logger.warn "* [JOB] failed to aquire exclusive lock for #{name}"
+ logger.warn "* [JOB] failed to acquire exclusive lock for #{name}"
return nil # no work done
end
@@ -233,7 +233,7 @@ def deserialize(source)
return handler if handler.respond_to?(:perform)
raise DeserializationError,
- 'Job failed to load: Unknown handler. Try to manually require the appropiate file.'
+ 'Job failed to load: Unknown handler. Try to manually require the appropriate file.'
rescue TypeError, LoadError, NameError => e
raise DeserializationError,
"Job failed to load: #{e.message}. Try to manually require the required file."
Please sign in to comment.
Something went wrong with that request. Please try again.