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

Method budget

nodedb-mem/src/governor.rs:387–389  ·  view source on GitHub ↗

Get the budget for a specific engine.

(&self, engine: EngineId)

Source from the content-addressed store, hash-verified

385
386 /// Get the budget for a specific engine.
387 pub fn budget(&self, engine: EngineId) -> Option<&Budget> {
388 self.budgets.get(&engine)
389 }
390
391 /// Get the global ceiling.
392 pub fn global_ceiling(&self) -> usize {

Calls 1

getMethod · 0.45