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

Make main() non-async #15

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Make main() non-async #15

merged 1 commit into from
Nov 17, 2021

Conversation

mite-user
Copy link
Contributor

Fixes #14

Seems like it doesn't affect performance. The patched version still tries to use all cores.

@Jake-Shadle
Copy link
Owner

It was originally doing async stuff but it was actually way more inconvenient and tedious than just doing blocking I/O in separate threads, it looks like I just forgot to actually remove the tokio wrapper. Have never seen #14 though.

@Jake-Shadle Jake-Shadle merged commit 0b6f5eb into Jake-Shadle:main Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debug fails. "Cannot drop a runtime in a context where blocking is not allowed."
2 participants