chore(code-cleanups): fixed spelling on variable

This commit is contained in:
RhodeCode Admin 2023-11-23 09:36:54 +01:00
parent 1627e95c7d
commit 5c1eba122d

View file

@ -64,12 +64,12 @@ CLEAR_DELETE = 'delete'
CLEAR_INVALIDATE = 'invalidate'
def async_creation_runner(cache, somekey, creator, mutex):
def async_creation_runner(cache, cache_key, creator, mutex):
def runner():
try:
value = creator()
cache.set(somekey, value)
cache.set(cache_key, value)
finally:
mutex.release()