serialize_reads: drop superflous "continue"
Found while debugging https://github.com/rfjakob/gocryptfs/pull/413
This commit is contained in:
parent
6df76db22b
commit
56eb85651b
@ -120,7 +120,6 @@ func (sr *serializerState) eventLoop() {
|
|||||||
tlog.Warn.Printf("serialize_reads: queue full, forcing unblock")
|
tlog.Warn.Printf("serialize_reads: queue full, forcing unblock")
|
||||||
sr.unblockOne()
|
sr.unblockOne()
|
||||||
}
|
}
|
||||||
continue
|
|
||||||
case <-time.After(time.Microsecond * 500):
|
case <-time.After(time.Microsecond * 500):
|
||||||
// Looks like we have waited out all concurrent requests.
|
// Looks like we have waited out all concurrent requests.
|
||||||
empty = sr.unblockOne()
|
empty = sr.unblockOne()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user