Skip to content

Commit

Permalink
Merge pull request #121 from steemit/fix-inflight-counter
Browse files Browse the repository at this point in the history
inFlight should only count active requests
  • Loading branch information
Fabien authored Apr 13, 2017
2 parents 1a7611c + c4df30b commit fdda7bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,11 @@ class Steem extends EventEmitter {
});

debugWs('Sending message', payload);
this.inFlight += 1;
this.ws.send(payload);
}))
.nodeify(callback);

this.inFlight += 1;

return this.currentP;
}

Expand Down

0 comments on commit fdda7bc

Please sign in to comment.