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

getting application error on viewing user 125 #4

Open
Circles24 opened this issue Jun 25, 2021 · 2 comments
Open

getting application error on viewing user 125 #4

Circles24 opened this issue Jun 25, 2021 · 2 comments
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@Circles24
Copy link

getting application error on https://moviefreak-flask-new.herokuapp.com/users/125

@Agent-Hellboy
Copy link
Member

Agent-Hellboy commented Jun 29, 2021

Request timeout
You may have encountered that this route is taking more than expected time to load as we are performing a task synchronously which should be asynchronous maybe we need celery here or these two operations

sim_movie.append(get_similar_movie(i.movie_id))

result=get_community_info()

should be performed in the background by another thread.
don't know much about this, you should suggest.

error log
2021-06-29T10:23:09.394554+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/users/125" host=moviefreak-flask-new.herokuapp.com request_id=4df1fac0-2cb9-458e-a00c-8d938cb65fa2 fwd="106.206.195.197" dyno=web.1 connect=1ms service=30000ms status=503 bytes=0 protocol=http

@Agent-Hellboy Agent-Hellboy added enhancement New feature or request bug Something isn't working help wanted Extra attention is needed labels Jun 29, 2021
@Circles24
Copy link
Author

may we can go with executor framework not very sure will check on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants