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

cleanup listening party pinned messages #34

Open
ChristopherBiscardi opened this issue Oct 7, 2020 · 0 comments
Open

cleanup listening party pinned messages #34

ChristopherBiscardi opened this issue Oct 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ChristopherBiscardi
Copy link
Contributor

Listening party pinned messages are cleaned up manually right now. We could instead schedule them to be cleaned up every N hours.

Netlify announced a background jobs lambda thingy we could use for this, or we could write it into the discord bot to run a check on cron.

The listening party messages should be distinguishable from other pinned messages based on their Kind, so we should be able to do a check like "if listening party was created more than 3h ago, remove it from pins"

@ChristopherBiscardi ChristopherBiscardi added the enhancement New feature or request label Oct 7, 2020
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

1 participant