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

fix: Eagerly load DBSchedulerStarter (491) #492

Conversation

NicklasWallgren
Copy link
Contributor

@NicklasWallgren NicklasWallgren commented May 20, 2024

Brief, plain english overview of your changes here

Excludes DbSchedulerStarter from being lazily initialized.

Fixes

The DbSchedulerStarter isn't created in a application where lazy initialization is enabled via spring.main.lazy-initialization=true.

Fixes: #491

Reminders

  • Added/ran automated tests
  • Update README and/or examples
  • Ran mvn spotless:apply

cc @kagkarlsson

@NicklasWallgren NicklasWallgren changed the title #491 - Eagerly load DBSchedulerStarter fix: 491 - Eagerly load DBSchedulerStarter May 20, 2024
@NicklasWallgren NicklasWallgren force-pushed the 491-eagerly-load-db-scheduler-starter branch from 39d792d to d751b37 Compare May 20, 2024 06:06
@NicklasWallgren NicklasWallgren changed the title fix: 491 - Eagerly load DBSchedulerStarter fix: Eagerly load DBSchedulerStarter (491) May 20, 2024
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.

I was not aware of this, thank you for fixing 👍

@kagkarlsson kagkarlsson merged commit 21f250f into kagkarlsson:master May 28, 2024
6 of 7 checks passed
@kagkarlsson
Copy link
Owner

🎉 This issue has been resolved in v14.0.1 (Release Notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring boot starter - Add support for lazy initialization
2 participants