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

fix: soft lock when an app uses its accessors #709

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

pierre-lehnen-rc
Copy link
Contributor

What? ⛵

Change deno's main loop to work on incoming messages asynchronously.

Why? 🤔

If the deno process tries to request something from the main process and wait for its results, it would put itself into a soft lock, as the response event is triggered by the main loop as well.

If the queue is process asynchronously, then the deno process can continue to process new messages even while an old one is waiting for something.

Links 🌎

PS 👀

@d-gubert d-gubert merged commit abe468b into feat/deno-runtime Jan 23, 2024
5 checks passed
@d-gubert d-gubert deleted the fix/deno-soft-lock branch January 23, 2024 13:16
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.

2 participants