Skip to content

Commit

Permalink
Update failure count the right way.
Browse files Browse the repository at this point in the history
This brings the two ways of reporting failure in line with each
other.

Closes #768.
  • Loading branch information
steveklabnik committed Mar 17, 2013
1 parent b2ca4ce commit 528166d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque.rb
Expand Up @@ -482,7 +482,7 @@ def info
:queues => queues.size, :queues => queues.size,
:workers => workers.size.to_i, :workers => workers.size.to_i,
:working => working.size, :working => working.size,
:failed => Stat[:failed], :failed => Resque.redis.llen(:failed).to_i,
:servers => [redis_id], :servers => [redis_id],
:environment => ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' :environment => ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development'
} }
Expand Down

0 comments on commit 528166d

Please sign in to comment.