Skip to content

Clear old entries of the queue #11

@liquidnya

Description

@liquidnya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions