Commit Graph

12 Commits

Author SHA1 Message Date
ppom
ed3cd4384c 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!
2023-10-20 12:00:00 +02:00
ppom
a70f1ac424 logger package! yay
fix #38
2023-10-12 12:00:00 +02:00
ppom
480aeb7f15 Reimplement flushes
fix #33
fix #39
2023-10-01 12:00:00 +02:00
ppom
83e760ed72 Rename global channels 2023-09-25 21:12:11 +02:00
ppom
a30a6644dc Fix: dont die if trying to delete unexistant DB
It can happen if reaction-flushes.db has never existed
but reaction-matches does, on first run-time database rotation
2023-09-24 16:00:54 +02:00
ppom
be991e9665 Fix closed channel panic 2023-09-22 23:18:08 +02:00
ppom
a119e0814b one goroutine handles all actions
pending actions are now data, they're not goroutines anymore ❤️

warn: cli currently doesn't work, but it's already a huge commit
2023-09-22 18:12:11 +02:00
ppom
52556f69b9 one goroutine handles all matches
it's not the filters that handles their matches anymore
2023-09-09 23:38:53 +02:00
ppom
da9ed42363 DatabaseManager takes a *Conf 2023-09-09 20:42:47 +02:00
ppom
d90e88d5eb remove DEBUG logs 2023-09-09 19:47:31 +02:00
ppom
1cb0562e15 persist flushes accross restarts. fixes #23 2023-09-09 19:32:23 +02:00
ppom
48f2517074 database refactor
fixes #21
2023-09-06 02:00:33 +02:00