kagkarlsson / db-scheduler

Persistent cluster-friendly scheduler for Java
Apache License 2.0
1.26k stars 193 forks source link

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

Open datasmithadvtech opened 4 days ago

datasmithadvtech commented 4 days ago

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.

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

1. 1. 1.

Context

Logs

datasmithadvtech commented 3 days ago

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?