• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

HelixObs / gateway / 26199571472

21 May 2026 01:16AM UTC coverage: 90.921% (-0.06%) from 90.984%
26199571472

push

github

chitrangpatel
fix(api): return 503 within 8s when DB pool is saturated

Adds a context deadline to the monitor bins query so the endpoint fails
fast with 503 instead of hanging until the client disconnects (30s).
Also adds migration 009 with a composite index on
(instrument_id, created_at DESC) to speed up the /monitor/bins query.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

8 of 10 new or added lines in 1 file covered. (80.0%)

2103 of 2313 relevant lines covered (90.92%)

1966.39 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.07
/internal/api/handler.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc