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

Using DbScheduler Without Continuous Polling #632

Open
francescods opened this issue Feb 15, 2025 · 0 comments
Open

Using DbScheduler Without Continuous Polling #632

francescods opened this issue Feb 15, 2025 · 0 comments

Comments

@francescods
Copy link

francescods commented Feb 15, 2025

Hi,

I have a question regarding the possibility of using DbScheduler without continuous polling in a Spring Boot project.

My use case is as follows:
I only need to schedule one-time tasks sporadically, typically with a delay of around 30 seconds.
I would like the polling interval (e.g., 1 second) to be active only when there are tasks waiting for execution.
However, when there are no tasks pending, I would like to disable or reduce polling to avoid unnecessary database queries.
Is this behavior possible with the current configuration options? If so, could you provide some guidance on how to achieve it?

Thanks in advance for your time and help!

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