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

Long running script failure on heroku #11

Open
schorsch opened this issue Jan 6, 2012 · 2 comments
Open

Long running script failure on heroku #11

schorsch opened this issue Jan 6, 2012 · 2 comments
Labels

Comments

@schorsch
Copy link
Member

schorsch commented Jan 6, 2012

Heroku displays an error on importing:

Application Error
An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.
@vijendra
Copy link
Contributor

vijendra commented Feb 4, 2012

OK. If any request takes more than 30 secs Heroku will throw, Request Timeout.

As suggested here only way to tackle this issue is moving the long running process to background job.
http://devcenter.heroku.com/articles/request-timeout#debugging_request_timeouts

@schorsch
Copy link
Member Author

schorsch commented Feb 6, 2012

Yes that's the only way. i just looked at heroku and we actually need a second app(sharing the db from the frontend) just for the background job. We should go for delayed job to do so.

Info:
http://stackoverflow.com/questions/5981508/share-database-between-2-apps-in-heroku

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

No branches or pull requests

2 participants