mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
deploy: d6be1091b5
This commit is contained in:
@@ -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>) -> 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>) -> 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
|
||||
|
||||
@@ -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) -> <span class="self">Self </span>{
|
||||
<a href=#266 id=266 data-nosnippet>266</a> <span class="attr">#[allow(deprecated)]
|
||||
|
||||
Reference in New Issue
Block a user