Open Schlepptop opened 2 years ago
Is there a reason to not use a single delete statement when trimming the event log? The code creates a query for every single event that needs to be deleted. I can create a PR if that's unintentional.
I think it's unintentional. There's already EVENT_TRIM_BATCH to limit the size of the bulk deletes. PR welcome. :)
EVENT_TRIM_BATCH
Is there a reason to not use a single delete statement when trimming the event log? The code creates a query for every single event that needs to be deleted. I can create a PR if that's unintentional.