Skip to content

Conversation

@caspervonb
Copy link
Collaborator

No description provided.

Signed-off-by: Casper Beyer <casper@synadia.com>
@caspervonb caspervonb requested a review from Copilot October 24, 2025 11:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the allow_msg_schedules configuration option to the StreamConfig class, enabling control over scheduled/delayed message functionality introduced in nats-server 2.12.0.

  • Added allow_msg_schedules field to StreamConfig class
  • Added comprehensive test coverage for the new configuration option
  • Included documentation comment explaining the feature and server version requirement

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
nats/src/nats/js/api.py Added allow_msg_schedules optional boolean field to StreamConfig with documentation
nats/tests/test_js.py Added test function covering True, False, and default (None) cases for allow_msg_schedules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Casper Beyer <casper@synadia.com>
Signed-off-by: Casper Beyer <casper@synadia.com>
@caspervonb caspervonb requested a review from wallyqs October 28, 2025 12:38
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.

2 participants