remove Old Events
Remove events older than maxAge seconds and keep only the latest maxSize events.
Parameters
max Size
the maximum number of events to keep.
max Age
the maximum age of events to keep.
Remove events older than maxAge seconds and keep only the latest maxSize events.
the maximum number of events to keep.
the maximum age of events to keep.