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

disabling of auto configuration of the db-scheduler & manual configuration does not appear supported using property files #557

Open
3 tasks done
datasmithadvtech opened this issue Nov 13, 2024 · 1 comment

Comments

@datasmithadvtech
Copy link

datasmithadvtech commented Nov 13, 2024

I added following

Db-scheduler configuration

db-scheduler:
threads: 5
polling-interval: 5s
heartbeat-interval: 5m
immediate-execution-enabled: false
delay-startup-until-context-ready: true

which appear to have no effect.

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

expected startup not to be immediate, but delayed for spring boot (latest) running on mac OS.

Current Behavior


For bug reports

YOU MAY DELETE THE For bug reports SECTION IF A NEW FEATURE REQUEST.

Steps to Reproduce the bug

Context

  • DB-Scheduler Version : starter 14.0.1
  • Java Version : 21
  • Spring Boot (check for Yes) : [ Yes] 3.3.5<
  • Database and Version : mysql 9.1.0

Logs

@datasmithadvtech
Copy link
Author

setting property in property file worked, but not yaml file

also, i need scheduler created after app starts - scheduler now starts after app starts, however, scheduler is created during app startup, which i need deferred until after app starts.

can we have this supported?

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