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

Message transport refactoring #269

Merged

Conversation

andrewwhitehead
Copy link
Contributor

@andrewwhitehead andrewwhitehead commented Nov 16, 2019

  • move unpacking and return routing into inbound transport manager
  • move packing, delivery tracking and retries into outbound transport manager
  • apply a limiter on the number of concurrent message handlers (agent message handlers + admin API handlers)
  • add support for --max-message-size parameter

@codecov-io
Copy link

codecov-io commented Nov 16, 2019

Codecov Report

Merging #269 into master will increase coverage by 0.73%.
The diff coverage is 87.11%.

@@            Coverage Diff             @@
##           master     #269      +/-   ##
==========================================
+ Coverage    79.9%   80.63%   +0.73%     
==========================================
  Files         230      232       +2     
  Lines       10416    10769     +353     
==========================================
+ Hits         8323     8684     +361     
+ Misses       2093     2085       -8

@lgtm-com
Copy link

lgtm-com bot commented Nov 16, 2019

This pull request introduces 1 alert when merging 3737906 into 77f47b7 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@lgtm-com
Copy link

lgtm-com bot commented Nov 18, 2019

This pull request introduces 1 alert when merging 422fe8b into 77f47b7 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@andrewwhitehead andrewwhitehead force-pushed the refactor/transport branch 5 times, most recently from b3f1b28 to 204af41 Compare November 21, 2019 22:56
@andrewwhitehead andrewwhitehead marked this pull request as ready for review November 22, 2019 18:43
@andrewwhitehead andrewwhitehead force-pushed the refactor/transport branch 2 times, most recently from 6d6c274 to 7877fd5 Compare November 26, 2019 18:06
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Signed-off-by: Andrew Whitehead <[email protected]>
Copy link
Contributor

@swcurran swcurran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executed by Wade and the code worked. May not have improved the performance, but the new structure is better.

Approved.

@swcurran swcurran merged commit b333150 into openwallet-foundation:master Nov 29, 2019
@andrewwhitehead andrewwhitehead deleted the refactor/transport branch February 29, 2020 21:48
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.

3 participants