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] LeafNode: Support for s2 compression #4167

Merged
merged 4 commits into from May 16, 2023
Merged

[ADDED] LeafNode: Support for s2 compression #4167

merged 4 commits into from May 16, 2023

Commits on May 15, 2023

  1. [ADDED] LeafNode: Support for s2 compression

    This is similar to PR #4115 but for LeafNodes.
    Compression mode can be set on both side (the accept and in remotes).
    ```
    leafnodes {
       port: 7422
       compression: s2_best
       remotes [
           {
             url: "nats://host2:74222"
             compression: s2_better
           }
       ]
    }
    ```
    Possible modes are similar than for routes (described in PR #4115),
    except that when not defined we default to `s2_auto`.
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 15, 2023
    Configuration menu
    Copy the full SHA
    67498af View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Updates based on PR feedback

    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 16, 2023
    Configuration menu
    Copy the full SHA
    ab281cc View commit details
    Browse the repository at this point in the history
  2. Revert changes related to leafnode PING interval

    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 16, 2023
    Configuration menu
    Copy the full SHA
    cf474d6 View commit details
    Browse the repository at this point in the history
  3. Fix flapper

    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 16, 2023
    Configuration menu
    Copy the full SHA
    e9e334d View commit details
    Browse the repository at this point in the history