79348538

Date: 2025-01-11 17:18:56
Score: 0.5
Natty:
Report link

Since for some reason get_redis_connection does not use the arguments I gave it, I saw that in its implementation it also looks for an environment variable REDIS_OM_URL and if it finds it, it is used to create the connection. I then updated my .env.dev file with:

REDIS_OM_URL=redis://redis:6379

And I changed the connection setting to:

redis_client = get_redis_connection()

And now it works like a charm.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Luigi Loria