We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c464a8 commit 40ca62bCopy full SHA for 40ca62b
src/custom/__init__.py
@@ -98,11 +98,11 @@ def __init__(
98
if cache_config:
99
logger.info("Using Redis cache")
100
self.botkit_cache = aiocache.RedisCache(
101
- endpoint=cache_config.get("host", "localhost"),
102
- port=cache_config.get("port", 6379),
103
- db=cache_config.get("db", 0),
104
- password=cache_config.get("password"),
105
- ssl=cache_config.get("ssl", False),
+ endpoint=cache_config.host,
+ port=cache_config.port,
+ db=cache_config.db,
+ password=cache_config.password,
+ ssl=cache_config.ssl,
106
namespace="botkit",
107
)
108
else:
0 commit comments