MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / disable_protocol_stats

Function disable_protocol_stats

src/pglite/proxy.rs:176–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174
175#[doc(hidden)]
176pub fn disable_protocol_stats() {
177 PROTOCOL_STATS.enabled.store(false, Ordering::Relaxed);
178}
179
180#[doc(hidden)]
181pub fn protocol_stats_snapshot() -> ProtocolStatsSnapshot {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected