Skip to content

Increase MAX_PTO_EXPONENT to 20#2498

Merged
antoniovicente merged 1 commit into
masterfrom
antonio/pto_freq
May 27, 2026
Merged

Increase MAX_PTO_EXPONENT to 20#2498
antoniovicente merged 1 commit into
masterfrom
antonio/pto_freq

Conversation

@antoniovicente
Copy link
Copy Markdown
Contributor

@antoniovicente antoniovicente commented May 27, 2026

A maximum of 5 is too small. An exponent of 20 allows the PTO length to grow by 1M times which is close enough to infinite.

The value of 5 was added in #2465 to fix a panic.

A maximum of 5 is too small.
@antoniovicente antoniovicente requested a review from a team as a code owner May 27, 2026 00:18
@antoniovicente antoniovicente merged commit 2315431 into master May 27, 2026
38 checks passed
@antoniovicente antoniovicente deleted the antonio/pto_freq branch May 27, 2026 16:10
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