Reduce database size

...and it's not a breaking change!
fix #36

Benchmark: using config/heavy-load.yml
From 14MB to 8MB → 40% of size reduction!
This commit is contained in:
ppom
2023-10-20 12:00:00 +02:00
parent 345dd94b17
commit ed3cd4384c
4 changed files with 57 additions and 15 deletions

View File

@ -187,7 +187,7 @@ func MatchesManager() {
matchesManagerHandleFlush(fo)
case pft = <-matchesC:
entry := LogEntry{pft.t, pft.p, pft.f.stream.name, pft.f.name, false}
entry := LogEntry{pft.t, pft.p, pft.f.stream.name, pft.f.name, 0, false}
entry.Exec = matchesManagerHandleMatch(pft)