Fixed locking in JobQueueAggregatorRedis
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 29 Dec 2013 21:44:33 +0000 (13:44 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 29 Dec 2013 22:57:19 +0000 (14:57 -0800)
commit8c781f92bad810e55f6b62c06b619913cfe81d32
tree937af9678f529bbe67455a789592026c5944a816
parent8c76d65f3f3cacd6cef7ab69802bd7243dc1666b
Fixed locking in JobQueueAggregatorRedis

* The old code would still bump the lock TTL on failure,
  so if processes kept trying to acquire it and the one
  that had it crashed, nothing would ever do anything.

Change-Id: If3fe7b75364204f399fb4caf8bd39204ab51b353
includes/job/aggregator/JobQueueAggregatorRedis.php