Mining/pkg
snider 91e7d0f484 perf: Optimize collectMinerStats() for parallel execution
- 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>
2025-12-31 11:16:38 +00:00
..
database test: Add race condition tests and fix AVG float64 scan bug 2025-12-31 11:07:29 +00:00
mining perf: Optimize collectMinerStats() for parallel execution 2025-12-31 11:16:38 +00:00
node refactor: Remove unused code and fix nil dereference issues 2025-12-31 09:24:12 +00:00