Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

test(cli): rate limiter status limit is the burst capacity admission uses (follows #4006)

re3cec110f255
diff --git a/v3/@claude-flow/cli/__tests__/plugins-transfer-deep.test.ts b/v3/@claude-flow/cli/__tests__/plugins-transfer-deep.test.ts
index 378eeb4a1b..c67eccd7aa 100644
--- a/v3/@claude-flow/cli/__tests__/plugins-transfer-deep.test.ts
+++ b/v3/@claude-flow/cli/__tests__/plugins-transfer-deep.test.ts
@@ -1098,7 +1098,8 @@ describe('Rate Limiter', () => {
limiter.check('op');
const status = limiter.getStatus('op');
expect(status.current).toBe(1);
- expect(status.limit).toBe(10);
+ // status reports the same capacity admission uses: maxRequests 10 x default burstMultiplier 1.5 (#4006)
+ expect(status.limit).toBe(15);
});
it('reset clears specific key', () => {