Skip to content

feat(grpc): can set buffer config on monitor open #2975

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dankeboy36
Copy link
Contributor

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

This PR adds a feature to tune the monitor buffer config when opening the duplex. See why at arduino/pluggable-monitor-protocol-handler#33.

What is the current behavior?

As described in arduino/pluggable-monitor-protocol-handler#33, the Arduino CLI pushes small data chunks from the port to the CLI and down to the clients.

What is the new behavior?

The new feature adds config for the monitor buffer config, such as high watermark, flush interval, and autoflush on line end, and a simple queuing strategy.

Does this PR introduce a breaking change, and is titled accordingly?

No.

Other information

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