Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Warning when memory cache

Clémence Lesnéd56919256dfa
diff --git a/persistence/memory.py b/persistence/memory.py
index 8859a3f..e972122 100644
--- a/persistence/memory.py
+++ b/persistence/memory.py
@@ -23,7 +23,9 @@ class MemoryCache(ICache):
_config: MemoryModel
def __init__(self, config: MemoryModel):
- _logger.info(f"Using memory cache with {config.max_size} size limit")
+ _logger.warning(
+ f"Using memory cache with {config.max_size} size limit, memory usage can be high, prefer an external cache like Redis"
+ )
self._config = config
async def areadiness(self) -> ReadinessStatus: