begin standardizing our method of streaming lines from files
This commit is contained in:
@@ -59,7 +59,7 @@ const mkOffsetCounter = () => {
|
||||
// that this function has a lower memory profile than our classic method
|
||||
// of reading logs line by line.
|
||||
// it also allows the handler to abort reading at any time
|
||||
Stream.readFileBin = (env, stream, msgHandler, cb) => {
|
||||
Stream.readFileBin = (stream, msgHandler, cb) => {
|
||||
//const stream = Fs.createReadStream(path, { start: start });
|
||||
let keepReading = true;
|
||||
Pull(
|
||||
|
||||
Reference in New Issue
Block a user