Permalink
Browse files

Merge pull request #10 from krasnoukhov/newest-first

Changed order of failures: now new failures are appearing on start of list
  • Loading branch information...
mhfs committed Nov 4, 2012
2 parents b647c2a + ef04f4f commit 54b06c4aa2de990c6f02f743403afe0fdc4f6a85
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sidekiq/failures/middleware.rb
@@ -14,7 +14,7 @@ def call(worker, msg, queue)
:queue => queue
}
- Sidekiq.redis { |conn| conn.rpush(:failed, Sidekiq.dump_json(data)) }
+ Sidekiq.redis { |conn| conn.lpush(:failed, Sidekiq.dump_json(data)) }
raise
end

0 comments on commit 54b06c4

Please sign in to comment.