Skip to content

Commit

Permalink
Fix password handling for in-mem Redis
Browse files Browse the repository at this point in the history
The `PASSWORD` setting is not a URL, so it should not be URL-encoded.
  • Loading branch information
SpecLad committed Mar 8, 2024
1 parent bfb902f commit 7d4b8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class CVAT_QUEUES(Enum):
'HOST': redis_inmem_host,
'PORT': redis_inmem_port,
'DB': 0,
'PASSWORD': urllib.parse.quote(redis_inmem_password),
'PASSWORD': redis_inmem_password,
}

RQ_QUEUES = {
Expand Down

0 comments on commit 7d4b8b9

Please sign in to comment.