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

mlogan sync 1.42 #21122

Closed
wants to merge 3 commits into from
Closed

Conversation

mystenmark
Copy link
Contributor

  • Sending to the subscription handler should not block execution
  • Make transaction execution sync

Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 1:29am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 1:29am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2025 1:29am

Subscriptions are already not 100% reliable, and this allows a slow
subscription handler to block execution indefinitely, which we don't
want.
This requires changing MutexTable to be sync, which in turn ripples out
into making a few other pieces of code sync, but the blast radius is
pretty well contained.

I do not expect this to have any significant performance impacts,
because most of the previous await points were probably "fake" in
that they were unlikely to actually yield execution.
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.

1 participant