Skip to content
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

Clear old entries of the queue #11

Open
liquidnya opened this issue May 24, 2022 · 0 comments
Open

Clear old entries of the queue #11

liquidnya opened this issue May 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@liquidnya
Copy link

Add a script to clear old queue entries and also the waiting time and the last online time of an user.
For example: remove all entries, where someone did not show up to the stream in the last month.

To add that script, cleanup.js could be created and also new settings could be created to configure when a user should be removed from the queue.
When the cleanup.js script is used, one could add it to the package.json scripts

"scripts": {

Alternatively this could also be implemented by adding a broadcaster only !cleanup command or similar.

Having the queue make a backup of the queue, waiting times and online user times before cleanup the queue would also be a nice bonus.

This depends on issue #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants