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

lightninglabs / taproot-assets / 12815550785

16 Jan 2025 06:41PM UTC coverage: 40.796% (+0.05%) from 40.748%
12815550785

Pull #1302

github

GeorgeTsagk
tapdb: always store result of querySyncStats

Our universe stats could run into a case where if in an un-cached state
the db query takes longer than the default client timeout (usually 30s)
then we'd fail the query and return early. This would cause the next
client to also receive an error instead of the cached result, making
this codepath stuck in an endless failing query. With this change we
parallelize the db query and we always wait for the result in order to
store it in cache. We may fail the function earlier, but the result will
always be retrieved & persisted.
Pull Request #1302: Aggregate Universe Stats: always store result of querySyncStats

29 of 37 new or added lines in 1 file covered. (78.38%)

10 existing lines in 3 files now uncovered.

26588 of 65173 relevant lines covered (40.8%)

93615.03 hits per line

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

83.86
/commitment/tap.go


Source Not Available

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

© 2026 Coveralls, Inc