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 6597abb commit cefce58Copy full SHA for cefce58
lambdas/shared/src/common/redis_client.py
@@ -7,6 +7,9 @@
7
REDIS_HOST = os.getenv("REDIS_HOST", "")
8
REDIS_PORT = os.getenv("REDIS_PORT", 6379)
9
10
+# TODO: use global_redis_client in every instance.
11
+# this will require considerable refactoring of filenameprocessor unit tests
12
+
13
redis_client = redis.StrictRedis(host=os.getenv("REDIS_HOST"), port=os.getenv("REDIS_PORT"), decode_responses=True)
14
15
# for lambdas which require a global redis_client
0 commit comments