This commit is contained in:
ramfox
2026-11-09 21:44:56 +00:00
parent 118b64b388
commit ac81cf9fe5
2 changed files with 2 additions and 2 deletions
@@ -35,7 +35,7 @@ stream while another is blocked.</p>
flow control credit. Endpoints that wish to handle large numbers of connections robustly
should take care to set this low enough to guarantee memory exhaustion does not occur if
every connection uses the entire window.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.send_fairness" class="method"><a class="src rightside" href="../../src/iroh/endpoint/quic.rs.html#265-269">Source</a><h4 class="code-header">pub fn <a href="#method.send_fairness" class="fn">send_fairness</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Send fairness is now always enabled. Neither enabling nor disabling it has no effect.</span></div></span></summary><div class="docblock"><p>Whether to implement fair queuing for send streams having the same priority.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.send_fairness" class="method"><a class="src rightside" href="../../src/iroh/endpoint/quic.rs.html#265-269">Source</a><h4 class="code-header">pub fn <a href="#method.send_fairness" class="fn">send_fairness</a>(self, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Self</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Send fairness is now always enabled. Neither enabling nor disabling it has an effect.</span></div></span></summary><div class="docblock"><p>Whether to implement fair queuing for send streams having the same priority.</p>
<p>When enabled, connections schedule data from outgoing streams having the same priority in a
round-robin fashion. When disabled, streams are scheduled in the order they are written to.</p>
<p>Note that this only affects streams with the same priority. Higher priority streams always
+1 -1
View File
@@ -260,7 +260,7 @@
<a href=#260 id=260 data-nosnippet>260</a> /// Disabling fairness can reduce fragmentation and protocol overhead for workloads that use
<a href=#261 id=261 data-nosnippet>261</a> /// many small streams.
<a href=#262 id=262 data-nosnippet>262</a> </span><span class="attr">#[deprecated(
<a href=#263 id=263 data-nosnippet>263</a> note = <span class="string">"Send fairness is now always enabled. Neither enabling nor disabling it has no effect."
<a href=#263 id=263 data-nosnippet>263</a> note = <span class="string">"Send fairness is now always enabled. Neither enabling nor disabling it has an effect."
<a href=#264 id=264 data-nosnippet>264</a> </span>)]
<a href=#265 id=265 data-nosnippet>265</a> </span><span class="kw">pub fn </span>send_fairness(<span class="kw-2">mut </span><span class="self">self</span>, value: bool) -&gt; <span class="self">Self </span>{
<a href=#266 id=266 data-nosnippet>266</a> <span class="attr">#[allow(deprecated)]