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

SimilarGallery command fails to return on first use #51

Closed
twiddli opened this issue Mar 29, 2018 · 1 comment
Closed

SimilarGallery command fails to return on first use #51

twiddli opened this issue Mar 29, 2018 · 1 comment

Comments

@twiddli
Copy link
Member

twiddli commented Mar 29, 2018

The [More like this] view on the gallery page in the web-client will not display similar galleries on first use with a new database. A simple fix is to restart HPX.


Not tested yet but this is likely where it fails to return

gl_data.update(self._calculate(gallery_or_id, all_gallery_tags).get())

I'm sure the problem lies somewhere in the async module.

Same behavior has also been encountered with the requests module where it'll hang when it's used first thing when the server starts. Really not sure what's triggering it.
Waiting on next gevent release. It might have been fixed.

@twiddli
Copy link
Member Author

twiddli commented May 26, 2018

I think this is fixed in v0.0.14 due to the changes I made on gevent.

@twiddli twiddli closed this as completed May 26, 2018
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

1 participant