You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When RQ_DASHBOARD_REDIS_URL is set in the config file, rq-dashboard will not use it and use the default of "redis://127.0.0.1:6379" instead.
If you don't pass in the url in the command line, it will be set to the default local redis. The code needs only use the default if app.config["RQ_DASHBOARD_REDIS_URL"] is not set already.
To Reproduce
Steps to reproduce the behavior:
Set RQ_DASHBOARD_REDIS_URL in a config file
Run rq-dashboard without -u but with -c pointing to the config file
Try to load the home page and it will fail to connect to redis (if you don't have a local redis running)
Expected behavior
If RQ_DASHBOARD_REDIS_URL is set in the config file/settings, it should use that url to connect to redis.
The text was updated successfully, but these errors were encountered:
Describe the bug
When RQ_DASHBOARD_REDIS_URL is set in the config file, rq-dashboard will not use it and use the default of "redis://127.0.0.1:6379" instead.
You can see here:
rq-dashboard/rq_dashboard/cli.py
Line 197 in 1767341
If you don't pass in the url in the command line, it will be set to the default local redis. The code needs only use the default if app.config["RQ_DASHBOARD_REDIS_URL"] is not set already.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If RQ_DASHBOARD_REDIS_URL is set in the config file/settings, it should use that url to connect to redis.
The text was updated successfully, but these errors were encountered: