Restarting workers on boot after a sudden shutdown was problematic.
…ld be made compatible with both.
#reserve will become part of the public backend API. Other backends can still implement #find_available and #lock_exclusively and call them, but they must implement #reserve.
This reverts commit cbde340.
…cked Closes #63
* 'master' of https://github.com/bluetools/delayed_job: Add delayed_job_args variable for Capistrano recipe to allow configuration of started workers (e.g. "-n 2 --max-priority 10")
* 'master' of https://github.com/jorgemanrubia/delayed_job: Changed the way the error message is composed when a job fails. Whith the previous implementation, if the raised error has a nil message, it will fail with a `<NoMethodError: undefined method '+' for nil:NilClass>`. Now it is using normal Ruby interpolation that will default to an empty String with nil messages.
…ueries from showing up in the log every 5 seconds