Update README and documentation; refactor frontend components for improved structure and resilience
This commit is contained in:
9
services/service-adapters/services/redis_client.py
Normal file
9
services/service-adapters/services/redis_client.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import redis
|
||||
import os
|
||||
|
||||
# Redis connection
|
||||
redis_client = redis.Redis(
|
||||
host=os.getenv("REDIS_HOST", "localhost"),
|
||||
port=int(os.getenv("REDIS_PORT", 6379)),
|
||||
decode_responses=True
|
||||
)
|
||||
Reference in New Issue
Block a user