We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b84459a commit eec460dCopy full SHA for eec460d
1 file changed
detect_secrets/settings.py
@@ -20,7 +20,7 @@
20
# concurrent calls to transient_settings() can corrupt the LRU-cached singletons
21
# (get_settings, get_plugins, get_mapping_from_secret_type_to_class), causing
22
# the secrets scanner to silently produce 0 findings.
23
-_settings_lock = threading.Lock()
+_settings_lock = threading.RLock()
24
25
26
@lru_cache(maxsize=1)
0 commit comments