-
Notifications
You must be signed in to change notification settings - Fork 4
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
Check to see if Eve works under PyPy #20
Comments
import_patched doesn't seem to work for pymysql with a db_pool. The first query to the DB just returns this traceback:
Looks like eventlet/eventlet#81 from 5 years ago(!). Explicitly adding the module to sys.modules makes it work. Performance is terrible while fetching new threads; as a hunch, I'd say it's taking a long time to compare each post against the in-memory version. After running for ~150 seconds or so, inserts seem to stall, and I have no idea why. Seems to happen randomly on one of the calls to execute() or commit(). |
pymysql works fine under CPython. Tried to test mysqlclient under PyPy (which is supported, supposedly) but it wants MySQL development sources and 5 GB of Visual C++ to compile, and fuck that. Should check Linux where compilers are more sane. |
mysqlclient might need to be replaced with PyMySQL
The text was updated successfully, but these errors were encountered: