Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Preload Whitehall in production #583
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.