Skip to content

Commit cb31be2

Browse files
committed
make lock non-reentrant
1 parent 4854946 commit cb31be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splitio/storage/adapters/cache_trait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(
5151
):
5252
"""Class constructor."""
5353
self._data = {}
54-
self._lock = threading.RLock()
54+
self._lock = threading.Lock()
5555
self._max_age_seconds = max_age_seconds
5656
self._max_size = max_size
5757
self._lru = None

0 commit comments

Comments
 (0)