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

lucaong / cubdb / 147
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: writes-since-compaction
DEFAULT BRANCH: master
Ran 12 Apr 2020 03:24PM UTC
Jobs 3
Files 14
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
147

push

travis-ci

lucaong
better timeout logic for read and write operations

Rather than relying on the GenServer.call timeout, that exits the caller
but does not free up resources on the callee, this commit enforces the
timeout also on the callee side when performing reads.

Also `get_and_update_multi/4` now enforces a timeout on the callee side.

This commit also cleans up the public API around timeouts by introducing
a breaking change, as both `select/2` and `get_and_update_multi/4` now
accept the timeout as an option instead of a separate argument. This
allows to introduce more options in the future, without having to
introduce more breaking changes.

The reader check in and check out is also refactored to be substantially
simpler.

65 of 65 new or added lines in 2 files covered. (100.0%)

490 of 494 relevant lines covered (99.19%)

24443.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 147.1 (ASSERT_RECEIVE_TIMEOUT=300) 12 Apr 2020 03:24PM UTC 0
99.19
Travis Job 147.1
2 147.2 (ASSERT_RECEIVE_TIMEOUT=300) 12 Apr 2020 03:24PM UTC 0
99.19
Travis Job 147.2
3 147.3 (ASSERT_RECEIVE_TIMEOUT=300) 12 Apr 2020 03:24PM UTC 0
99.19
Travis Job 147.3
Source Files on build 147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #147
  • 5df3d3b8 on github
  • Prev Build on better_timeouts (#145)
  • Next Build on better_timeouts (#149)
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