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: Yield after submitting nc command #257

Merged
merged 1 commit into from Mar 15, 2023

Conversation

AntonOellerer
Copy link
Contributor

@AntonOellerer AntonOellerer commented Mar 9, 2023

Up until now, it was possible that the order of messages submitted by example scripts to the pipeline was mixed up if all of the nc commands were submitted in one CPU processing slot. This caused the affected examples to come to wrong results.
To fix this, the processing thread is sent to sleep after each command. By doing this, the thread yields it processing time, and the nc command gets submitted.

Issue number and link

Fixes #256

Describe your changes

Checklist before requesting a review

  • I follow the Semantic Pull Requests rules (bugfix/feature)
  • I specified links to related issues (must: bugfix, want: feature)
  • I have performed a self-review of my code (bugfix/feature)
  • I have added thorough tests (bugfix/feature)
  • I have edited ## [Unreleased] section in CHANGELOG.md following keep a changelog syntax (bugfix/feature)
  • I {made/will make} a related pull request for documentation repo (feature)

Up until now, it was possible that the order of messages submitted by
example scripts to the pipeline was mixed up if all of the `nc` commands
were submitted in one CPU processing slot. This caused the affected
examples to come to wrong results.
To fix this, the processing thread is sent to sleep after each command.
By doing this, the thread yields it processing time, and the `nc`
command gets submitted.
Fixes SpringQL#256
@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.07 🎉

Comparison is base (df23792) 84.58% compared to head (ea4d536) 84.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #257      +/-   ##
==========================================
+ Coverage   84.58%   84.65%   +0.07%     
==========================================
  Files         215      215              
  Lines       12692    12692              
==========================================
+ Hits        10736    10745       +9     
+ Misses       1956     1947       -9     

see 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2023

CLA assistant check
All committers have signed the CLA.

@laysakura
Copy link
Contributor

@AntonOellerer Thank you for having interest to this project!

Could you sign the CLA from the CLAassistant comment?

@laysakura laysakura changed the title Yield after submitting nc command fix: Yield after submitting nc command Mar 9, 2023
@laysakura laysakura merged commit 378893c into SpringQL:main Mar 15, 2023
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.

Reproducibility of doc_app2
3 participants