mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
checkpoint: File edit:
🚀 Generated with [Claude Code](https://claude.com/claude-code) 📊 V3 Development Progress Checkpoint Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This commit is contained in:
1 parent
d84a8cb6fb
commit
bf6ef34e2b
1 file changed
+1
-1
@@ -330,7 +330,7 @@ export class TopologyManager extends EventEmitter implements ITopologyManager {
|
||||
}
|
||||
|
||||
private hasQueen(): boolean {
|
||||
return this.state.nodes.some(n => n.role === 'queen');
|
||||
return this.queenNode !== null; // O(1) check using cached queen
|
||||
}
|
||||
|
||||
private calculateInitialConnections(agentId: string, role: TopologyNode['role']): string[] {
|
||||
|
||||
Reference in new issue
Block a user