-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expire rules after delay #6
Comments
|
For rule dequeue: https://github.com/catwell/cw-lua/blob/master/deque/deque.lua |
You'll need a priority queue if the keepUntil timestamps aren't in increasing order. I happen to have an implementation here: https://github.com/DeadlyBossMods/DeadlyBossMods/blob/master/DBM-Core/DBM-Core.lua#L1378-L1470 Or easier: insert new deletion events in the middle of the queue |
Another approach:
We can keep the table swapping interval short[1] and can control the delay: No modification in the dumpers which are already slow. [1] Do we actually care about this? Why not set it to 10 mins and be done with this whole issue? |
No description provided.
The text was updated successfully, but these errors were encountered: