MCPcopy Create free account
hub / github.com/EvoMap/evolver / recordClaim

Method recordClaim

src/proxy/task/monitor.js:71–75  ·  view source on GitHub ↗
(taskId)

Source from the content-addressed store, hash-verified

69 }
70
71 recordClaim(taskId) {
72 this._stats.tasks_claimed++;
73 this._stats.last_claim_at = Date.now();
74 this.store.setState('task_monitor_stats', JSON.stringify(this.getMetrics()));
75 }
76
77 recordComplete(taskId, startedAt) {
78 this._stats.tasks_completed++;

Callers 2

buildRoutesFunction · 0.80

Calls 2

getMetricsMethod · 0.95
setStateMethod · 0.80

Tested by

no test coverage detected