Does threshold limit remove over the limit entries? #781
-
Actual BehaviourThere are 800 entries of the auditable type. I only want to keep around 100, so I set the
When I create a new model and update it, it is saved to Do I have to run some kind of command to prune the entries manually? Expected BehaviourThe audit threshold should be respected and the total entries should be 10, instead of 801. Steps to Reproduce
Possible SolutionsN/A |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For anyone looking for an answer,
|
Beta Was this translation helpful? Give feedback.
For anyone looking for an answer,
$auditThreshold
sets limit per model instance. This means when setting protected$auditThreshold = 10;
there will be 10 audit records for one model instance, checkauditable_type
andauditable_id
columns: