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

Add 'console cache:warmup' in boot script #3

Open
Swop opened this issue Oct 26, 2012 · 1 comment
Open

Add 'console cache:warmup' in boot script #3

Swop opened this issue Oct 26, 2012 · 1 comment

Comments

@Swop
Copy link
Owner

Swop commented Oct 26, 2012

No description provided.

@stof
Copy link

stof commented Oct 31, 2012

there is an issue here: Heroku expects the app to bind on $PORT within 60 seconds, otherwise it considers it as a failure (boot timeout). But the cache warmup can be longer than that (it is even the goal, to make the heavy cacheable work there instead of during a web request).
I found a workaround by doing the warmup after launching nginx but it could cause some issues for the first request if it comes before the warmup is completed

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

No branches or pull requests

2 participants