##// END OF EJS Templates
redis-lock: added strict/logging improvements.
super-admin -
r945:7e130ea6 stable
parent child Browse files
Show More
@@ -10,7 +10,7 b' from redis import StrictRedis'
10 __version__ = '3.7.0'
10 __version__ = '3.7.0'
11
11
12 loggers = {
12 loggers = {
13 k: getLogger(".".join((__name__, k)))
13 k: getLogger("vcsserver" + ".".join((__name__, k)))
14 for k in [
14 for k in [
15 "acquire",
15 "acquire",
16 "refresh.thread.start",
16 "refresh.thread.start",
@@ -243,6 +243,7 b' class BaseRedisBackend(redis_backend.Red'
243 name=lock_key,
243 name=lock_key,
244 expire=self.lock_timeout,
244 expire=self.lock_timeout,
245 auto_renewal=False,
245 auto_renewal=False,
246 strict=True,
246 )
247 )
247 return lock
248 return lock
248 else:
249 else:
General Comments 0
You need to be logged in to leave comments. Login now