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

Delete old messages #3236

Closed
stellanl opened this issue Oct 15, 2019 · 2 comments
Closed

Delete old messages #3236

stellanl opened this issue Oct 15, 2019 · 2 comments
Assignees
Milestone

Comments

@stellanl
Copy link
Contributor

stellanl commented Oct 15, 2019

Currently messages are kept forever. The oldest instances have up to 400000. These cannot presently even be scrolled back to (#2070), and take up space.
We could delete them after, say, a year like some other entities.

@janagombitova
Copy link
Contributor

Delete away!

@janagombitova janagombitova added this to the 1.10.1 milestone Oct 18, 2019
@janagombitova janagombitova modified the milestones: 1.10.1, 1.10.2 Nov 6, 2019
@stellanl stellanl self-assigned this Dec 11, 2019
@stellanl
Copy link
Contributor Author

stellanl commented Dec 11, 2019

Test plan:

  1. Check the existence of messages in the instance datastore.
  2. Trigger the purge through an URL like https://akvoflowsandbox.appspot.com/cron/croncommander?action=purgeOldMessages
  3. Check again; all messages older than 1 year should be gone.

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

No branches or pull requests

3 participants