litements/litequeue

How to create limit size queue?

Closed this issue · 1 comments

qgbcs commented
How to create limit size queue?

You can use the maxsize argument when initializing the object. It will set up a trigger on the database, so the limit is persistent while the DB file exists unless you manually delete it.