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

Configurable scheduler start #71

Merged
merged 3 commits into from
Oct 16, 2019
Merged

Conversation

evenh
Copy link
Contributor

@evenh evenh commented Oct 14, 2019

This PR resolves #70 by introducing a new configuration property: db-scheduler.start-scheduler-immediately.

Existing behaviour is enabled by default (true). However, if it is set to false the scheduler will start after the Spring context is ready/refreshed (ContextRefreshedEvent).

@kagkarlsson
Copy link
Owner

Thanks!

How do you feel about calling the property delay-startup-until-context-ready, or start-after-context-ready? (or something like that)

@evenh
Copy link
Contributor Author

evenh commented Oct 15, 2019

Does this solve your problem @zsmeier?

@zsmeier
Copy link

zsmeier commented Oct 16, 2019

Looks good! Thank you!!!!

Copy link
Owner

@kagkarlsson kagkarlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@kagkarlsson kagkarlsson merged commit 626230c into kagkarlsson:master Oct 16, 2019
evenh pushed a commit to evenh/db-scheduler that referenced this pull request Oct 1, 2020
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

Successfully merging this pull request may close these issues.

Scheduler start in Spring-Boot
3 participants