Closed manuelmhtr closed 9 years ago
Looks awesome, thanks! :smile: Could you update the PR to use 2-space indentation in lib/errors?
:O true! It's ready now. By the way, this is my use case for the extend: https://www.npmjs.com/package/solo-worker
solo-worker looks cool :) I've got a few changes I want to make to redislock. Once done, I'll tag and release a new version.
Thanks again!
Great! :+1:
Added specs and published a new version. Made it a minor release (1.1.0) since it added a new feature.
Added extend method, which enables locks to extend its timeout. It's very useful for continuos processes when rather than set a timeout you want to refresh its lock constantly.