Skip to content

feat: process Engine API requests sequentially #201

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

0xKitsune
Copy link
Collaborator

@0xKitsune 0xKitsune commented May 1, 2025

Addresses #188, simplifies #192

This PR updates the ProxyService to process all Engine API requests sequentially. Instead of forwarding Engine requests directly to the inner service, they’re now enqueued along with a response channel, and a separate task processes the queue. This guarantees that Engine API calls are processed sequentially while still allowing all other RPC calls to be processed concurrently.

Copy link

vercel bot commented May 1, 2025

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rollup-boost ⬜️ Ignored (Inspect) Visit Preview May 7, 2025 3:48pm

@0xKitsune 0xKitsune marked this pull request as ready for review May 3, 2025 04:30
Copy link
Collaborator

@0xForerunner 0xForerunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Super clean, looks good.

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