{"action":"created","issue":{"url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/25","repository_url":"https://api.github.com/repos/mike-marcacci/node-redlock","labels_url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/25/comments","events_url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/25/events","html_url":"https://github.com/mike-marcacci/node-redlock/pull/25","id":189009453,"number":25,"title":"Support executing multiple commands atomically along with redlock","user":{"login":"doublerebel","id":212827,"avatar_url":"https://avatars.githubusercontent.com/u/212827?v=3","gravatar_id":"","url":"https://api.github.com/users/doublerebel","html_url":"https://github.com/doublerebel","followers_url":"https://api.github.com/users/doublerebel/followers","following_url":"https://api.github.com/users/doublerebel/following{/other_user}","gists_url":"https://api.github.com/users/doublerebel/gists{/gist_id}","starred_url":"https://api.github.com/users/doublerebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doublerebel/subscriptions","organizations_url":"https://api.github.com/users/doublerebel/orgs","repos_url":"https://api.github.com/users/doublerebel/repos","events_url":"https://api.github.com/users/doublerebel/events{/privacy}","received_events_url":"https://api.github.com/users/doublerebel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T01:08:49Z","updated_at":"2016-11-14T01:11:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mike-marcacci/node-redlock/pulls/25","html_url":"https://github.com/mike-marcacci/node-redlock/pull/25","diff_url":"https://github.com/mike-marcacci/node-redlock/pull/25.diff","patch_url":"https://github.com/mike-marcacci/node-redlock/pull/25.patch"},"body":"Hello,\r\n\r\nOur use case with Optimalbits/bull is to atomically lock a resource only if other conditions are met.  This PR allows modifying the lock/unlock/extend scripts to extend the atomic functionality with pre- or post-conditions, without sacrificing or re-implementing the atomic redlock logic.\r\n\r\nThe modification only happens once on instance creation, so I think the performance hit is negligible.  I do not attempt to guarantee the correctness of a modified script, this advanced option is at the risk of the user."},"comment":{"url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/comments/260227685","html_url":"https://github.com/mike-marcacci/node-redlock/pull/25#issuecomment-260227685","issue_url":"https://api.github.com/repos/mike-marcacci/node-redlock/issues/25","id":260227685,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T01:11:11Z","updated_at":"2016-11-14T01:11:11Z","body":"\n[![Coverage Status](https://coveralls.io/builds/8803430/badge)](https://coveralls.io/builds/8803430)\n\nCoverage remained the same at 100.0% when pulling **3c787c2eafed57cee6a21289bc595ce59a7456ee on nextorigin:master** into **5b2dd583a3165b3834e0c5c82c015abae6dac915 on mike-marcacci:master**.\n"}}
{"actor":{"display_login":"coveralls"}}