From f52d216ae9bc105f73865d4bfabae51e85f3ddb1 Mon Sep 17 00:00:00 2001 From: Ultrablob Date: Wed, 22 Jan 2025 16:08:19 -0500 Subject: [PATCH] update redis config --- main.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 7b56c39..1948613 100644 --- a/main.py +++ b/main.py @@ -11,12 +11,11 @@ DEV = False DB_KEY = "scores" if not DEV else "scores_dev" WEBHOOK_URL = "https://discord.com/api/webhooks/1233484325962518709/yUxyEYZzfxOvOhd3G892pSd4XHbwdj96UnLmL9oJXeimc7sqMfUPkGhs0VA-k34o-56J" -db = redis.Redis(host='redis', - port=50658, - decode_responses=True, - ssl=True, - username="default", - password="default") #! probably fine? +db = redis.Redis( + host='redis', + port=6379, + decode_responses=True +) def seconds2mmss(total_seconds: float): seconds: float = total_seconds % 60