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

feat(nats): add compression config (#432) #434

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

hspedro
Copy link
Collaborator

@hspedro hspedro commented Jan 14, 2025

In NATS client and server, if the connection uses websocket we can enable compression by passing the Compression config - it needs to be enbaled on both client and server conn setup. Thus creating a new config to enbale on both sides - if not websocket, this config has no effect

Porting changes from v2 to main v3: #432

In NATS client and server, if the connection uses websocket we can enable
compression by passing the Compression config - it needs to be enbaled on
both client and server conn setup. Thus creating a new config to enbale
on both sides - if not websocket, this config has no effect
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12774451974

Details

  • 10 of 10 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 59.362%

Totals Coverage Status
Change from base Build 12399975055: 0.06%
Covered Lines: 4933
Relevant Lines: 8310

💛 - Coveralls

Copy link
Collaborator

@rsafonseca rsafonseca left a comment

Choose a reason for hiding this comment

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

LGTM :)

@hspedro hspedro merged commit 2d40833 into main Jan 14, 2025
4 checks passed
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