MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / tenant_request_end

Method tenant_request_end

nodedb/src/control/state/methods.rs:285–290  ·  view source on GitHub ↗

Record request end for tenant quota tracking.

(&self, tenant_id: TenantId)

Source from the content-addressed store, hash-verified

283
284 /// Record request end for tenant quota tracking.
285 pub fn tenant_request_end(&self, tenant_id: TenantId) {
286 match self.tenants.lock() {
287 Ok(mut t) => t.request_end(tenant_id),
288 Err(poisoned) => poisoned.into_inner().request_end(tenant_id),
289 }
290 }
291
292 /// Check if a tenant can open a new connection.
293 pub fn check_tenant_connection(&self, tenant_id: TenantId) -> crate::Result<()> {

Callers 10

flush_ilp_batchFunction · 0.80
execute_single_sqlMethod · 0.80
crdt_applyFunction · 0.80
queryFunction · 0.80
query_ndjsonFunction · 0.80
execute_sqlFunction · 0.80
handle_sqlFunction · 0.80
handle_direct_opFunction · 0.80

Calls 2

lockMethod · 0.80
request_endMethod · 0.80

Tested by

no test coverage detected