Skip to content

Conversation

maradini77
Copy link
Contributor

Problem
When users specify a timeout value greater than MAX_SIM_TIMEOUT in bundle simulation, the current logic silently falls back to DEFAULT_SIM_TIMEOUT instead of clamping to the maximum allowed value. This leads to unexpected behavior where large timeout values result in shorter-than-expected timeouts.

Solution
Replace the filter() + unwrap_or() pattern with explicit min() clamping to ensure predictable timeout behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

1 participant