drop tracker tags from rust doc comments (lint)
This commit is contained in:
parent
be5b36911a
commit
0577c9e3fa
2 changed files with 5 additions and 5 deletions
|
|
@ -151,7 +151,7 @@ pub(crate) const RECV_LONG_POLL_MAX: std::time::Duration = std::time::Duration::
|
||||||
|
|
||||||
/// Server-side hard cap on `Recv.max` — canonical value lives in
|
/// Server-side hard cap on `Recv.max` — canonical value lives in
|
||||||
/// `hive_sh4re::RECV_BATCH_MAX` so the harness's wake-prompt hint and
|
/// `hive_sh4re::RECV_BATCH_MAX` so the harness's wake-prompt hint and
|
||||||
/// this enforcement site can't drift apart (#2150).
|
/// this enforcement site can't drift apart.
|
||||||
pub(crate) const RECV_BATCH_MAX: u32 = hive_sh4re::RECV_BATCH_MAX;
|
pub(crate) const RECV_BATCH_MAX: u32 = hive_sh4re::RECV_BATCH_MAX;
|
||||||
|
|
||||||
pub(crate) fn recv_timeout(wait_seconds: Option<u64>) -> std::time::Duration {
|
pub(crate) fn recv_timeout(wait_seconds: Option<u64>) -> std::time::Duration {
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@ pub mod wire_time;
|
||||||
/// the size of a single round-trip so a confused caller can't drain the
|
/// the size of a single round-trip so a confused caller can't drain the
|
||||||
/// entire inbox in one go and blow past wire-buffer sizes; everything
|
/// entire inbox in one go and blow past wire-buffer sizes; everything
|
||||||
/// above the cap silently clamps. 5 keeps individual turns small — a big
|
/// above the cap silently clamps. 5 keeps individual turns small — a big
|
||||||
/// backlog is drained over several recv calls instead of one giant pop
|
/// backlog is drained over several recv calls instead of one giant pop.
|
||||||
/// (#2150). Lives here so both the enforcing side (hive-c0re's
|
/// Lives here so both the enforcing side (hive-c0re's socket_server) and
|
||||||
/// socket_server) and the hinting side (hive-ag3nt's wake prompt + tool
|
/// the hinting side (hive-ag3nt's wake prompt + tool docs) reference one
|
||||||
/// docs) reference one constant instead of a scattered magic value.
|
/// constant instead of a scattered magic value.
|
||||||
pub const RECV_BATCH_MAX: u32 = 5;
|
pub const RECV_BATCH_MAX: u32 = 5;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue