mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-30 13:13:24 +00:00
migrate from redis to valkey
This commit is contained in:
80 files changed
+754
-753
No files matched your search
@@ -31,7 +31,7 @@ try:
|
||||
|
||||
while True:
|
||||
try:
|
||||
r = redis.StrictRedis(host='redis', decode_responses=True, port=6379, db=0, password=os.environ['REDISPASS'])
|
||||
r = redis.StrictRedis(host='valkey-mailcow', decode_responses=True, port=6379, db=0, password=os.environ['VALKEYPASS'])
|
||||
r.ping()
|
||||
except Exception as ex:
|
||||
print('%s - trying again...' % (ex))
|
||||
|
||||
Reference in new issue
Block a user