Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
I think that the doc comments need editing for grammar and also to allow for cases where the Additionally, the API requires passing a Duration, but the documentation says
In practice I believe that the special value |
|
It's intentionally |
|
Another problem: the number of seconds passed also isn't a maximum either, it's a hint. For example, if you pass 8 seconds to this API, that will get calculated as 4 retransmits, which will wait up to 15 seconds worth of retransmits. (as of linux kernel tag v6.18 (2025-11-30) which is what I have easily available at the moment) This means that the duration can be significantly higher than the passed duration (up to 120 seconds longer in the most extreme cases I believe) or significantly lower (the duration is capped at 255 retransmits, which is about 29880 seconds or so if i'm doing the math correctly) |
Close #119639
FCP: #119639 (comment)