MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / increment_bytes_received

Method increment_bytes_received

src/adapter/src/webhook.rs:289–293  ·  view source on GitHub ↗

Increment the `bytes_received` user-facing statistics. This should be incremented even if the request is invalid.

(&self, bytes: u64)

Source from the content-addressed store, hash-verified

287 /// Increment the `bytes_received` user-facing statistics. This
288 /// should be incremented even if the request is invalid.
289 pub fn increment_bytes_received(&self, bytes: u64) {
290 self.stats
291 .bytes_received
292 .fetch_add(bytes, Ordering::Relaxed);
293 }
294
295 pub(crate) fn new(
296 tx: MonotonicAppender,

Callers 1

append_webhookFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected