-
-
Notifications
You must be signed in to change notification settings - Fork 314
feat: add server sent events #1200
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
this is a very early implementation with a lot of bugs. need to create a better version when I am not delirious. |
|
😱 Found 2 issues. Time to roll up your sleeves! 😱 Need help? Join our Discord for support! |
CodSpeed Performance ReportMerging #1200 will not alter performanceComparing Summary
Benchmarks breakdown
|
integration_tests/conftest.py
Outdated
|
|
||
| # Ensure environment variables are properly set for the subprocess | ||
| env = os.environ.copy() | ||
| env["ROBYN_HOST"] = domain | ||
| env["ROBYN_PORT"] = str(port) | ||
|
|
||
| if platform.system() == "Windows": | ||
| command[0] = "python" | ||
| process = subprocess.Popen(command, shell=True, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP, env=env) | ||
| else: | ||
| process = subprocess.Popen(command, preexec_fn=os.setsid, env=env) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this? Prolly not
|
@Recurse-ML re-review |
|
Quite satisfied with the implementation now. Will write docs. |
for more information, see https://pre-commit.ci
Description
This PR fixes #1199
Summary
This PR implements server sent events
PR Checklist
Please ensure that:
Pre-Commit Instructions: