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(websockets): unable to send messages to clients #115

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Mar 12, 2024

Now that each cloud.Function executes in it's own process, it is impossible to use a global WebSockets server to send messages.

Instead, starts a small local http server that sends the messages across process boundaries.

Now that each `cloud.Function` executes in it's own process, it is impossible to use a global WebSockets server to send messages.

Instead, starts a small local http server that sends the messages across process boundaries.
@eladb eladb requested a review from ekeren March 12, 2024 10:57
websockets/platform/sim.w Outdated Show resolved Hide resolved
Copy link

mergify bot commented Mar 12, 2024

Thanks for contributing, @eladb! This PR will now be added to the merge queue, or immediately merged if elabd/fix-websockets is up-to-date with main and the queue is empty.

@mergify mergify bot merged commit 4d4fdc8 into main Mar 12, 2024
5 checks passed
@mergify mergify bot deleted the elabd/fix-websockets branch March 12, 2024 11:12
@eladb eladb mentioned this pull request Mar 13, 2024
5 tasks
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