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
MySQL timeout with big db #26
Comments
You can use |
Ok, I'll try that |
This looks like a problem about database connection. |
Yes, the site is working fine, and the regular search.update_one_index calls are also working fine, it's just the search.update_index that's not working |
What's your configuration of Similar problem https://stackoverflow.com/questions/42163359/flask-sqlalchemy-2013-lost-connection |
I have a big database using flask and MySQL. It has about 1,060,000 items to search and index. I'm trying to update the search index for all the items at once using
search.update_index()
however, MySQL keeps timing out halfway through. Any ideas on how to fix this?The text was updated successfully, but these errors were encountered: