mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): fix invocation cache clear method args
This commit is contained in:
parent
e24624109e
commit
bab20467fb
@ -81,7 +81,7 @@ class MemoryInvocationCache(InvocationCacheBase):
|
|||||||
with self._lock:
|
with self._lock:
|
||||||
return self._delete(key)
|
return self._delete(key)
|
||||||
|
|
||||||
def clear(self, *args, **kwargs) -> None:
|
def clear(self) -> None:
|
||||||
with self._lock:
|
with self._lock:
|
||||||
if self._max_cache_size == 0:
|
if self._max_cache_size == 0:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user