Permalink
Browse files

Use local time since DM ignores timezones

  • Loading branch information...
1 parent dd81b03 commit 6329fcb1e9923db030ab2ac03143938254d378c1 @bkeepers bkeepers committed Mar 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/delayed/backend/data_mapper.rb
@@ -38,7 +38,7 @@ class Job
property :last_error, String
def self.db_time_now
- Time.now.utc
+ Time.now
end
def self.find_available(worker_name, limit = 5, max_run_time = Worker.max_run_time)

0 comments on commit 6329fcb

Please sign in to comment.