-
Notifications
You must be signed in to change notification settings - Fork 9
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
Multithreading error on ODM2 SQLite and MySQL when trying to implement odm2api-based queries #112
Comments
Thanks, @lsetiawan. Darn. I'll try to take a look later. |
One difference I see between how the wofpy dao is querying is that
Resource: |
Just for reference: this issue is linked to PR #111. See that PR (now closed) for related discussions. |
@lsetiawan the newest odm2api release is using the scoped_session. |
@sreeder Woo hoo! Great! Thanks 😄 |
@sreeder I noticed this in the notes to the odm2api release. That's great, and thanks for letting us know here. We're very close to a new wofpy release. To minimize uncertainties and new work, I'd rather keep odm2api querying out of this release, and stick to the current approach (almost pure SQLAlchemy, except for importing and using |
This is following up to previous issue on SQLite after dao was updated to use
odm2api
querying engine. A test was done on MySQL Little Bear Database, and when the server is live I am gettingThis is similar to issue 75 for SQLite.
After some research, I get to the same conclusion of queries not being closed each time it's done. This causes the multithreading errors.
Resource:
The text was updated successfully, but these errors were encountered: