Skip to content

Skip offline servers during Lite collection#99

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/90-skip-offline-servers
Feb 17, 2026
Merged

Skip offline servers during Lite collection#99
erikdarlingdata merged 1 commit intodevfrom
feature/90-skip-offline-servers

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Skip servers where IsOnline == false in RunDueCollectorsAsync() — connection check already runs first each cycle, so status is fresh
  • Reduce ConnectionTimeoutSeconds from 15s to 5s to match connection check timeout

Test plan

  • 30-min HammerDB TPC-C load test (32 VUs): 437 collections, 100% success, avg 176ms, max 2.5s
  • SQL2022 collected every cycle with zero missed
  • All 7 offline servers fully skipped — zero collection attempts
  • Full Dashboard also verified stable: 672 collections, 0 errors, avg 366ms

Closes #90

🤖 Generated with Claude Code

RunDueCollectorsAsync now checks IsOnline status before queuing collectors
for each server. Servers marked offline by the connection check are skipped
entirely, eliminating wasted timeout cycles. Connection timeout reduced
from 15s to 5s to match the connection check timeout.

Tested under 30-min HammerDB TPC-C load: 437 Lite collections at 100%
success rate, avg 176ms. Zero offline server attempts.

Closes #90

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit f43e507 into dev Feb 17, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/90-skip-offline-servers branch February 20, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant