-
-
Notifications
You must be signed in to change notification settings - Fork 207
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 ability to customize task repository #101
base: master
Are you sure you want to change the base?
Add ability to customize task repository #101
Conversation
Sorry, missed replying to this one. I think that might be possible, but that task repository would need to provide the same guarantees as the jdbc one. We are currently using the |
What store did you have in mind? |
yea, i thought about elasticsearch initially. |
I think this might be doable. The |
Hi, I would really like to have similar feature. I need to override JdbcTaskRepository.getDue and explicitly add limit to sql statement, due to how Postgres planner works internally, now if there is a lot of due tasks (millions) it uses sequential scan instead of index, because query is suppose to return all of the rows. With explicit limit in that case it will use index because it knows that we need only a small subset. |
Hi! This is a bit of a different use-case, would you please raise this in a separate issue? 😄 |
No description provided. |
Added an issue to track this feature, #173 |
hey @kagkarlsson, thanks for the project!
I was wondering what you think about adding the ability to customize task repositories so we can switch to non-JDBC compliant stores.
Cheers