cache_key_lock¶
-
CacheManagerMixin.
cache_key_lock
: Optional[_thread.allocate_lock] = None¶ A
threading.Lock
lock object which is used when adding cache keys tocache_key_log_name
to prevent the risk of two simultaneous cache key additions causing one call to overwrite the other’s addition attempt.