Skip to content

feat: Filter based segment#602

Merged
swanandx merged 6 commits intomainfrom
filter-based-segment
Jul 24, 2023
Merged

feat: Filter based segment#602
swanandx merged 6 commits intomainfrom
filter-based-segment

Conversation

@mnpw
Copy link
Contributor

@mnpw mnpw commented Apr 5, 2023

Changes:

  • Add option to override segment config based on a filter

Breaking:

  • Remove unused config fields
  • Rename router.max_read_len to router.max_outgoing_packet_count in config and set its value from 10240 to 200

Checklist:

  • Formatted with cargo fmt
  • Make an entry to CHANGELOG.md if its relevant of user of the library. If its not relevant mention why.

pub max_payload_size: usize,
pub max_inflight_count: u16,
pub max_inflight_size: usize,
pub max_inflight_count: usize,
Copy link

Choose a reason for hiding this comment

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

I think we should update this variable name to a more descriptive max_connection_buffer_len that we use internally in Network, so it is not confused with max allowed inflight publish messages which is currently a constant set to 100 (i.e. MAX_INFLIGHT in src/router/iobufs.rs).

@mnpw mnpw mentioned this pull request May 3, 2023
@h3nill
Copy link

h3nill commented May 8, 2023

We have merged this internally, we will create a rumqttd release with this changes soon.

@h3nill h3nill closed this May 8, 2023
@h3nill h3nill reopened this Jul 24, 2023
@h3nill h3nill closed this Jul 24, 2023
@h3nill h3nill reopened this Jul 24, 2023
@swanandx swanandx merged commit 5ff4245 into main Jul 24, 2023
carlocorradini pushed a commit to carlocorradini/rumqtt that referenced this pull request Aug 3, 2023
Co-authored-by: henil <dedaniahenil@gmail.com>
@swanandx swanandx deleted the filter-based-segment branch February 23, 2024 06:24
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.

4 participants