Skip to content

Use explicit spring boot loader#39225

Merged
dhh merged 5 commits intomasterfrom
boot-with-spring-explicitly
May 16, 2020
Merged

Use explicit spring boot loader#39225
dhh merged 5 commits intomasterfrom
boot-with-spring-explicitly

Conversation

@dhh
Copy link
Member

@dhh dhh commented May 10, 2020

Easier to opt out of spring on a per-call basis, guarantees its only run in dev + test envs.

Easier to opt out of spring on a per-call basis, guarantees its only run in dev + test envs.
@rails-bot rails-bot bot added the railties label May 10, 2020
@dhh dhh marked this pull request as ready for review May 16, 2020 20:45
@dhh dhh merged commit c6bdfd1 into master May 16, 2020
@dhh dhh deleted the boot-with-spring-explicitly branch May 16, 2020 20:57
@dhh
Copy link
Member Author

dhh commented May 22, 2020

On second thoughts, this doesn't offer enough over DISABLE_SPRING=1. Reverting.

@dhh
Copy link
Member Author

dhh commented May 22, 2020

And for the protection ensuring that spring only runs in dev+test, we should upstream. This conclusion wasn't good enough: rails/spring#318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant