Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/session/append.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,11 @@ impl AppendSessionConfig {
/// Set the limit on number of unacknowledged [`AppendInput`]s held in memory.
///
/// Defaults to no limit.
pub fn with_max_unacked_batches(
self,
max_unacked_batches: NonZeroU32,
) -> Result<Self, ValidationError> {
Ok(Self {
pub fn with_max_unacked_batches(self, max_unacked_batches: NonZeroU32) -> Self {
Self {
max_unacked_batches: Some(max_unacked_batches.get()),
..self
})
}
}
}

Expand Down
Loading