GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit d9d959ea authored by payno's avatar payno

[SharedLockPool] fix typo: lock should be acquire inside the '_modify_locks' context.

parent 233dcd50
Pipeline #46534 passed with stages
in 20 minutes and 12 seconds
......@@ -98,7 +98,7 @@ class SharedLockPool:
lock = locks.get(name, None)
if lock is None:
locks[name] = lock = threading.RLock()
lock.acquire()
lock.acquire()
try:
yield
finally:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment