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

Expires uses incorrect MAX_CALL_LIFETIME for completed calls #58

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

ajukes
Copy link
Contributor

@ajukes ajukes commented Aug 2, 2024

MAX_CALL_LIFETIME & MAX_CALL_LIFETIME_AFTER_COMPLETED are round the wrong way when determining expires for a call being saved to redis.

This means that redis contains a large amount of calls after they have completed for up to 12hrs.

Another side effect is that the purge-calls function works overtime to clean up a large amount of calls putting load on the redis cluster.

@davehorton davehorton merged commit 90f0272 into jambonz:main Aug 2, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants