mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Merging PRO functionality back to OSS repo
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ func (i *TestInput) Read(data []byte) (int, error) {
|
||||
}
|
||||
|
||||
return len(buf) + len(header), nil
|
||||
case <-time.After(10* time.Second):
|
||||
case <-time.After(10 * time.Second):
|
||||
return 0, fmt.Errorf("timed out waiting for read")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user