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

[ADDED, BREAKING] Services: queue group now configurable and can be d… #110

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

levb
Copy link
Owner

@levb levb commented Sep 23, 2024

…isabled.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 32 lines in your changes missing coverage. Please review.

Project coverage is 70.55%. Comparing base (1553d4a) to head (bb92fb5).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
src/micro.c 65.27% 8 Missing and 17 partials ⚠️
src/micro_endpoint.c 62.50% 1 Missing and 5 partials ⚠️
src/micro_monitoring.c 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   68.69%   70.55%   +1.85%     
==========================================
  Files          39       47       +8     
  Lines       15207    15450     +243     
  Branches     3143     3181      +38     
==========================================
+ Hits        10447    10901     +454     
+ Misses       1702     1474     -228     
- Partials     3058     3075      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@levb levb force-pushed the lev-211-services-no-queue-group branch from 1af435b to aa81257 Compare September 23, 2024 20:46
It appears possible that the client exits before the (own) dispatcher
thread finishes and quits. Waiting until the "Done" callback is invoked
fixes it.

Also, since a sub is (often? always?) freed from the own dispatcher thread,
use natsThread_Detach rather than natsThread_Join when cleaning up own
dispatcher.
@levb levb force-pushed the lev-211-services-no-queue-group branch from 76f5be6 to bb92fb5 Compare September 25, 2024 00:21
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.

1 participant