Merge pull request #2902 from mattbostock/patch-2

Remote queue manager: Fix typo
This commit is contained in:
Fabian Reinartz 2017-07-05 11:57:52 +02:00 committed by GitHub
commit 3ed4fea58c

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()