From 1bd0c818c825633783f736159559de2e9290fe11 Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Thu, 27 Jul 2023 17:25:47 +0400 Subject: [PATCH] feat: replace empty string with localhost --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 98493ce..5920945 100644 --- a/worker.py +++ b/worker.py @@ -17,7 +17,7 @@ def worker_exception_handler(job, exc_type, exc_value, traceback): if __name__ == "__main__": - host = os.getenv("REDIS_HOST", "localhost") + host = os.getenv("REDIS_HOST", "") port = int(os.getenv("REDIS_PORT", 6379)) password = os.getenv("REDIS_PASSWORD")