Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #48 from oplehto/filter_linelength_fix
Browse files Browse the repository at this point in the history
filter: Incremented the minimum line length threshold
  • Loading branch information
oplehto authored Mar 13, 2018
2 parents f4c670d + b980faf commit eef3cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func extractTimestamp(line []byte, defaultTs int64) int64 {
length := len(line)

// Reject lines that are too short to have a timestamp.
if length <= minTsLen {
if length <= minTsLen+6 {
return defaultTs
}

Expand Down

0 comments on commit eef3cac

Please sign in to comment.