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

Messages retention is not deleting messages older than 30 days #17925

Open
Gushtera opened this issue Nov 12, 2024 · 1 comment
Open

Messages retention is not deleting messages older than 30 days #17925

Gushtera opened this issue Nov 12, 2024 · 1 comment

Comments

@Gushtera
Copy link

Hello Guys,
for some reason the retention is not working for messages older than 30 days. Basically is not deleting any messages. Can someone help what can be the reason. Here is the configuration:

retention:
enabled: true
default_policy:
min_lifetime: "1d"
max_lifetime: "30d"
purge_jobs:
- type: "messages"
interval: "1d"

@erikjohnston
Copy link
Member

Hi, just to check that I don't think message retention will delete the last message in the room. Is that what you're seeing?

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

2 participants