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

Add maintenance routine to periodically prune the job index DB #308

Open
shonfeder opened this issue May 15, 2024 · 0 comments
Open

Add maintenance routine to periodically prune the job index DB #308

shonfeder opened this issue May 15, 2024 · 0 comments

Comments

@shonfeder
Copy link
Contributor

Originating from this discussion #293 (comment)

@mtelvers noted the following

  • The index database is never pruned.
  • As the tables grow, perhaps an expensive query begins to eat up a lot of time.
  • If the time for a query exceeds the configured timeout, this may cause retries to keep executing the query

Whether or not this was the cause of service issues that motivated the discussion, I think we all agree it would help to periodically prune old data from the DB, once it is beyond the point of being useful.

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

1 participant