1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix extra set of vars the duplicated realtime graph

This commit is contained in:
Brandon Hilkert 2014-05-21 19:01:06 -04:00
parent 1e687195cd
commit 390eddd271

View file

@ -93,7 +93,7 @@ var realtimeGraph = function(updatePath) {
var failed = data.sidekiq.failed - Sidekiq.failed; var failed = data.sidekiq.failed - Sidekiq.failed;
} }
graph.series.addData({ failed: failed, processed: processed }); graph.series.addData({ Failed: failed, Processed: processed });
graph.render(); graph.render();
Sidekiq.processed = data.sidekiq.processed; Sidekiq.processed = data.sidekiq.processed;