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

mike-marcacci / node-redlock / 91 / 5
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2019 04:40PM UTC
Files 2
Run time 0s
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

13 Jun 2019 04:39PM UTC coverage: 100.0%. Remained the same
91.5

push

travis-ci

mike-marcacci
Feature/28/multi resource lock (#55)

* Add support for locking multiple resources

Locking of multiple resources in single call is "hard" due to nature of redis. Even when using MULTI (transaction support) all commands which are queued successfully will be executed (so we can't rely on redis to fail on already set key).

This commit provides a sort-of-workaround by checking existence of values but it still doesn't provide strong guarantees for settings/removing/extending all resources.

Ref #28

* Change idention to tabs

* And rework some more tabs

* Tab Tab

* Set nil on lock error and check value diff on del

* Add multivalue tests

110 of 138 branches covered (79.71%)

686 of 686 relevant lines covered (100.0%)

19.41 hits per line

Source Files on job 91.5
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 88
  • Travis Job 91.5
  • 6d1417e8 on github
  • Prev Job for on master (#87.1)
  • Next Job for on master (#92.1)
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