chore(code-cleanups): fixed spelling on variable
This commit is contained in:
parent
1627e95c7d
commit
5c1eba122d
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue