Skip to content

Commit eec460d

Browse files
author
lshindelman
committed
.
1 parent b84459a commit eec460d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

detect_secrets/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# concurrent calls to transient_settings() can corrupt the LRU-cached singletons
2121
# (get_settings, get_plugins, get_mapping_from_secret_type_to_class), causing
2222
# the secrets scanner to silently produce 0 findings.
23-
_settings_lock = threading.Lock()
23+
_settings_lock = threading.RLock()
2424

2525

2626
@lru_cache(maxsize=1)

0 commit comments

Comments
 (0)