Skip to content

Commit fc0db21

Browse files
committed
deactivate lock on v2
1 parent 1e5c393 commit fc0db21

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

activestorage/active.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,14 @@ def __getitem__(self, index):
158158

159159
elif self._version == 2:
160160
# No active operation either
161-
lock = self.lock
162-
if lock:
163-
lock.acquire()
161+
#lock = self.lock
162+
#if lock:
163+
# lock.acquire()
164164

165165
data = self._via_kerchunk(index)
166166

167-
if lock:
168-
lock.release()
167+
#if lock:
168+
# lock.release()
169169

170170
return data
171171

0 commit comments

Comments
 (0)