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

Eager loading fog in development #2100

Closed
paulodeon opened this issue Jan 18, 2017 · 1 comment
Closed

Eager loading fog in development #2100

paulodeon opened this issue Jan 18, 2017 · 1 comment

Comments

@paulodeon
Copy link

Should we be eager loading Fog in development?

The reason for #1198 was to improve the first fog hit at the expense of initial load time, great for production, not really great for development.

Additionally if for whatever reason the cloud storage is down or inaccessible your app doesn't boot, again not great for development.

I would suggest only eager loading in production or adding an eager_load config option

@mshibuya
Copy link
Member

Merging into #2395.

mshibuya added a commit that referenced this issue Jun 22, 2019
- Make Fog configuration order-free
- Eager-loading of Fog only occurs in Rails production. Refs #2100
- config.fog_provider is deprecated, because Fog dependencies added to app's Gemfile are to be required by Bundler
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

No branches or pull requests

2 participants