summaryrefslogtreecommitdiff
path: root/internal/serialize_reads/sr.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-09-08 21:19:44 +0200
committerJakob Unterwurzacher2019-09-08 21:19:44 +0200
commit56eb85651be098fe810066f637c10004a7bea19b (patch)
tree500227f3d377be1885b6203ebde50416a57138f5 /internal/serialize_reads/sr.go
parent6df76db22b02a487f94487935a38f894d94f7119 (diff)
serialize_reads: drop superflous "continue"
Found while debugging https://github.com/rfjakob/gocryptfs/pull/413
Diffstat (limited to 'internal/serialize_reads/sr.go')
-rw-r--r--internal/serialize_reads/sr.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/serialize_reads/sr.go b/internal/serialize_reads/sr.go
index 9b45bf6..96cec4f 100644
--- a/internal/serialize_reads/sr.go
+++ b/internal/serialize_reads/sr.go
@@ -120,7 +120,6 @@ func (sr *serializerState) eventLoop() {
tlog.Warn.Printf("serialize_reads: queue full, forcing unblock")
sr.unblockOne()
}
- continue
case <-time.After(time.Microsecond * 500):
// Looks like we have waited out all concurrent requests.
empty = sr.unblockOne()