- Collect stats from multiple miners concurrently using goroutines - Minimize lock duration by taking a snapshot of miners early - Remove redundant existence check (snapshot is sufficient) - Extract collectSingleMinerStats for cleaner code - Add early return when no miners are present This reduces overall stats collection time when multiple miners are running, as API calls now happen in parallel instead of sequentially. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database | ||
| mining | ||
| node | ||