Skip to content

Commit 8149eef

Browse files
Mantisusjanbuchar
andauthored
Update src/crawlee/storages/_storage_instance_manager.py
Co-authored-by: Jan Buchar <[email protected]>
1 parent 842922b commit 8149eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crawlee/storages/_storage_instance_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async def open_storage_instance(
151151
self._opener_locks[opener_lock_key] = lock
152152

153153
async with lock:
154-
# Re-check cache inside the lock
154+
# Another task could have created the storage while we were waiting for the lock - check if that happened
155155
if cached_instance := self._get_from_cache(
156156
cls,
157157
id=id,

0 commit comments

Comments
 (0)