mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
docs(wdclient): readability fix (#3685)
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
parent
b51880ed3b
commit
150ce9f3f6
|
@ -105,7 +105,7 @@ func (s *unboundedSemaphore) Release() {
|
|||
s.lock.Lock()
|
||||
s.counter += 1
|
||||
if s.counter > 0 {
|
||||
// Not broadcasting here since it's unlike we can satify all waiting
|
||||
// Not broadcasting here since it's unlike we can satisfy all waiting
|
||||
// goroutines. Instead, we will Signal again if there are left over
|
||||
// quota after Acquire, in case of lost wakeups.
|
||||
s.cond.Signal()
|
||||
|
|
Loading…
Reference in a new issue