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

Do not connect to db until needed fix #239 #240

Merged
merged 1 commit into from
Apr 7, 2016

Conversation

agios
Copy link
Contributor

@agios agios commented Nov 7, 2015

We can put the calls that trigger a database connection in a proc and only call it when first needed.

@agios
Copy link
Contributor Author

agios commented Nov 7, 2015

Just noticed #236 does essentially the same thing as this PR, albeit in a slightly different way.

But there are many cases where users might be affected by this, it would be nice if it is fixed, one way or another.

@davidwessman
Copy link

👍 Would really need this

@dup2
Copy link

dup2 commented Apr 7, 2016

👍 Please merge this, we can not precompile assets without it

@danielmorrison danielmorrison merged commit 101d885 into collectiveidea:master Apr 7, 2016
@dup2
Copy link

dup2 commented Apr 7, 2016

Great, thx.

@agios agios deleted the early_connection branch April 7, 2016 20:30
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.

4 participants