Skip to content

Commit

Permalink
Merge pull request #296 from nbougalis/quickfix-jobcount
Browse files Browse the repository at this point in the history
Fix variable mismatch for job counts
  • Loading branch information
JoelKatz committed Feb 26, 2014
2 parents 955ce45 + 04a55e3 commit add40d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ripple_core/functional/JobQueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ class JobQueueImp

LoadMonitor::Stats stats (data.stats ());

int waiting (data.running);
int running (data.waiting);
int waiting (data.waiting);
int running (data.running);

if ((stats.count != 0) || (waiting != 0) ||
(stats.latencyPeak != 0) || (running != 0))
Expand Down

0 comments on commit add40d5

Please sign in to comment.