Skip to content

Commit

Permalink
feat: replace empty string with localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiststwin committed Jul 27, 2023
1 parent 91c0b0c commit 1bd0c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 1bd0c81

Please sign in to comment.