MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / emit_activity

Function emit_activity

crates/openshell-supervisor-network/src/l7/relay.rs:580–584  ·  view source on GitHub ↗
(ctx: &L7EvalContext, denied: bool, deny_group: &'static str)

Source from the content-addressed store, hash-verified

578}
579
580fn emit_activity(ctx: &L7EvalContext, denied: bool, deny_group: &'static str) {
581 if let Some(tx) = &ctx.activity_tx {
582 let _ = try_record_activity(tx, denied, deny_group);
583 }
584}
585
586/// Handle an upgraded connection (101 Switching Protocols).
587///

Callers 2

emit_parse_rejectionFunction · 0.70
emit_l7_request_logFunction · 0.70

Calls 1

try_record_activityFunction · 0.85

Tested by

no test coverage detected