1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fix: improves search by backfilling on first search (#3261)

This commit is contained in:
Amir Raminfar
2024-09-07 15:11:09 -07:00
committed by GitHub
parent 328a277cff
commit a5ffd88884
7 changed files with 230 additions and 102 deletions

View File

@@ -83,3 +83,7 @@ func (l *LogEvent) HasLevel() bool {
func (l *LogEvent) IsCloseToTime(other *LogEvent) bool {
return math.Abs(float64(l.Timestamp-other.Timestamp)) < 10
}
func (l *LogEvent) MessageId() int64 {
return l.Timestamp
}