Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
kpicaza wants to merge1 commit into1.x.x
base:1.x.x
Choose a base branch
Loading
fromfix-sync-runner
Open

Conversation

@kpicaza
Copy link
Member

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)

image

Types of changes

What types of changes does your code introduce? Put anx in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read theCONTRIBUTING document.
  • My pull request addresses exactly one patch/feature.
  • I have created a branch for this patch/feature.
  • Each individual commit in the pull request is meaningful.
  • I have added tests to cover my changes.
  • If my change requires a change to the documentation, I have updated it accordingly.

@kpicazakpicaza added the bugSomething isn't working labelDec 16, 2021
@codecov-commenter
Copy link

Codecov Report

Merging#8 (52db516) into1.x.x (a14d115) willnot change coverage.
The diff coverage is100.00%.

Impacted file tree graph

@@            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
Impacted FilesCoverage Δ
src/SyncRunner.php100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatea14d115...52db516. Read thecomment docs.

Copy link
Member

@xserratxserrat left a 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",
Copy link
Member

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?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@peter279kpeter279kAwaiting requested review from peter279k

1 more reviewer

@xserratxserratxserrat approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

bugSomething isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@kpicaza@codecov-commenter@xserrat

[8]ページ先頭

©2009-2025 Movatter.jp