alphagov/support-api — pull request #10 by benilovj (2014-09-02 07:44:12+00:00)
Title: Replace hand-rolled lock code with `redis-lock` gem

This change means that there's less code to maintain, and it has a (slightly) nicer interface.

The lock wrapper code is pinched from the `transition` app.

As [suggested](https://github.com/alphagov/support-api/pull/8#issuecomment-52295422) by @jennyd on https://github.com/alphagov/support-api/pull/8.