Refactor #31742
Turn on eager_load for development
Pull request:
Fixed in Releases:
Found in Releases:
Description
We have some features which lists all classes (e.g. descendants of a class) during boot. This creates situations when Foreman does not behave the same as in production and it can lead to confusion for users who don’t know about this problem. For example, when working on Subscription API (Foreman events and webhooks), you actually need to turn on eager_load to be able to do anything reasonable.
Discussion: https://community.theforeman.org/t/rfc-turn-eager-load-on-for-development/22125
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8292 added
#2
Updated by Lukas Zapletal about 2 months ago
- Related to Bug #31977: Turn on eager_load for test added
#3
Updated by The Foreman Bot about 2 months ago
- Fixed in Releases 2.5.0 added
#4
Updated by Lukas Zapletal about 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|245d23de57e306ee1efec18ee69152f176ed3e17.
Fixes #31742 - enable eager_load in dev environment