Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
Run sync server in a fiber#8
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:1.x.x
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-commenter commentedDec 16, 2021
Codecov Report
@@ Coverage Diff @@## 1.x.x #8 +/- ##========================================= Coverage 80.00% 80.00% Complexity 12 12 ========================================= Files 5 5 Lines 40 40 ========================================= Hits 32 32 Misses 8 8
Continue to review full report at Codecov.
|
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.
🚀🚀
| "nyholm/psr7":"^1.4", | ||
| "nyholm/psr7-server":"^1.0", | ||
| "psr/http-server-middleware":"^1.0", | ||
| "react/async":"@dev", |
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 the dev version of this package?
Description
Running await makes the current sync server fail with a segmentation fault because the fiber isn't already started.
Motivation and context
It fixes the described situation and adds real support to use async APIs inside the sync server.
How has this been tested?
Covered by unit tests and tested manually
Screenshots (if appropriate)
Types of changes
What types of changes does your code introduce? Put an
xin all the boxes that apply:Checklist: