spelling
This commit is contained in:
parent
ef4daf97d1
commit
3e9760ef2f
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ func (b *broker) pollShards(ctx context.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// leaseShards attempts to find new shards that need to be
|
// leaseShards attempts to find new shards that need to be
|
||||||
// processed; when a new shard is found it passing the shard
|
// processed; when a new shard is found it passes the shard
|
||||||
// ID back to the consumer on the shard channel
|
// ID back to the consumer on the shardc channel
|
||||||
func (b *broker) leaseShards() {
|
func (b *broker) leaseShards() {
|
||||||
b.shardMu.Lock()
|
b.shardMu.Lock()
|
||||||
defer b.shardMu.Unlock()
|
defer b.shardMu.Unlock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue