Open adepasquale opened 10 years ago
Are both of these right places to insert the aforementioned pruning functionalities?
Or would it be better to handle this on the DB with ON DELETE CASCADE
?
Or maybe here? https://github.com/Snorby/snorby/blob/master/app/models/event.rb#L85-L89
I'm not sure whether this is a known issue or not, but I have problems with Snorby's DB pruning feature.
I've set DB pruning to 500.000 events but only the
event
table seems to be pruned. Is this the expected behaviour? I had to manually runThe same for other tables (iphdr, icmphdr, etc...)