Remote queue manager: Fix typo

Change 'send' to 'sent'.
This commit is contained in:
Matt Bostock 2017-07-04 20:48:52 +01:00 committed by GitHub
parent 38de290d5f
commit 13c6e4a4bc

View file

@ -303,7 +303,7 @@ func (t *QueueManager) calculateDesiredShards() {
// We use the number of incoming samples as a prediction of how much work we
// will need to do next iteration. We add to this any pending samples
// (received - send) so we can catch up with any backlog. We use the average
// (received - sent) so we can catch up with any backlog. We use the average
// outgoing batch latency to work out how many shards we need.
var (
samplesIn = t.samplesIn.rate()