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

Preload Whitehall in production #583

Merged
merged 1 commit into from May 31, 2013

Conversation

Projects
None yet
2 participants
@bradwright
Contributor

bradwright commented May 31, 2013

The time before the app begins serving requests is currently quite large due to the way Rails lazily loads its object graph. During this time it times out frequently while it warms up.

This commit tells Unicorn to preload the entire application, and includes the standard database connection futzing that seems to be common to these solutions.

Preload Whitehall in production
The time before the app begins serving requests is currently quite large
due to the way Rails lazily loads its object graph. During this time it
times out frequently while it warms up.

This commit tells Unicorn to preload the entire application, and
includes the standard database connection futzing that seems to be
common to these solutions.

matthewford added a commit that referenced this pull request May 31, 2013

Merge pull request #583 from alphagov/preload-app
Preload Whitehall in production

@matthewford matthewford merged commit 9b58cab into master May 31, 2013

1 check was pending

default The Travis CI build is in progress
Details

@matthewford matthewford deleted the preload-app branch May 31, 2013

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