Closed xkeyideal closed 4 years ago
This looks like a very similar situation to what #8 fixed. Would you like to open a pull request?
(I think this particular check is not as important, because the end-of-file is handled elsewhere.)
closing in favor of #15
https://github.com/nsqio/go-diskqueue/blob/master/diskqueue.go#L332
should change it
if d.nextReadPos >= d.maxBytesPerFile {