Commit 627327b
Name the segment-size setter parameter for its unit
storeAndForwardMaxSegmentBytes still took a parameter called maxBytes,
which reads as the total cap and reintroduces exactly the ambiguity
the sf_max_segment_bytes rename removes. Every sibling names its
parameter after the method tail: storeAndForwardMaxTotalBytes takes
maxTotalBytes, storeAndForwardDir takes dir, storeAndForwardDurability
takes durability, storeAndForwardSyncIntervalMillis takes millis.
The parameter is now maxSegmentBytes. Signature, the positivity guard,
the exception text argument, and the field assignment all follow. No
behavior changes.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a750e1a commit 627327b
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2775 | 2775 | | |
2776 | 2776 | | |
2777 | 2777 | | |
2778 | | - | |
| 2778 | + | |
2779 | 2779 | | |
2780 | 2780 | | |
2781 | 2781 | | |
2782 | | - | |
2783 | | - | |
| 2782 | + | |
| 2783 | + | |
2784 | 2784 | | |
2785 | | - | |
| 2785 | + | |
2786 | 2786 | | |
2787 | 2787 | | |
2788 | 2788 | | |
| |||
0 commit comments