Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
perf: Redis to fails fast if connexion issue
Clémence Lesnéd47e6824e385
diff --git a/persistence/redis.py b/persistence/redis.pyindex ca23b6b..c86880b 100644--- a/persistence/redis.py+++ b/persistence/redis.py@@ -100,7 +100,8 @@ class RedisCache(ICache):retry_on_error=[BusyLoadingError, ConnectionError],retry_on_timeout=True,retry=_retry,- socket_timeout=10, # Copied to socket_connect_timeout+ socket_connect_timeout=1, # Timeout for connection, we want it to fail fast, that's cache+ socket_timeout=10, # Timeout for queries# Azure deploymenthost=self._config.host,port=self._config.port,