Skip to content

Asgi recv() on lambda should hang when there are no more events #93

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

igalshilman
Copy link
Contributor

This PR fixes a bug when running on AWS lambda. The asgi wrapper, before this commit, did not 'hang' when there are no more events to produce. With this commit when there are no more events we return a pending future.

This commit fixes a bug when running on AWS lambda. The asgi
wrapper, before this commit, did not 'hang' when there are no
more events to produce. With this commit when there are no more
events we return a pending future.
@igalshilman igalshilman merged commit 122a117 into restatedev:main May 2, 2025
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant