We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rua,我不会写这么复杂的rust...那我还是用进程池吧,期待有能人通过我们的讨论提PR
Originally posted by @boholder in #1 (comment)
呃。。就像昨天说的,我用asyncio提供的API loop.run_in_executor(),把对这个库的调用包装并跑在process pool里。
loop.run_in_executor()
然后撞上了PyO3的第二个坑:简而言之,PyO3把对象放到builtin模块里,pickle库按着找找不到。 PyO3/pyo3#100 (comment)
builtin
这个issue里也有解决方案示例。。
The text was updated successfully, but these errors were encountered:
NamingService
ConfigService
Vec<u8>
No branches or pull requests
Originally posted by @boholder in #1 (comment)
呃。。就像昨天说的,我用asyncio提供的API
loop.run_in_executor()
,把对这个库的调用包装并跑在process pool里。然后撞上了PyO3的第二个坑:简而言之,PyO3把对象放到
builtin
模块里,pickle库按着找找不到。PyO3/pyo3#100 (comment)
这个issue里也有解决方案示例。。
The text was updated successfully, but these errors were encountered: