Merge "Avoid using a thread local token storage"

This commit is contained in:
Jenkins 2015-04-27 12:59:19 +00:00 committed by Gerrit Code Review
commit 0e67e15ed3

View File

@ -99,7 +99,8 @@ class RedisLock(locking.Lock):
#
# When that gets fixed (and detects the servers capabilities better
# we can likely turn this back on to being smart).
self._lock = redis_locks.Lock(client, self._name, timeout=timeout)
self._lock = redis_locks.Lock(client, self._name,
timeout=timeout, thread_local=False)
self._coord = coord
self._acquired = False