Open studio1902 opened 4 years ago
Important edit to prevent issues. Can you please merge this one?
actually... REDIS_DATABASE="0"
would solve the issue... or using REDIS_DATABASE=1
would as well.
The issue is that 0
just gets evaluated as false which ends up passing an empty string to the predis client.
REDIS_DATABASE = 0
gets turned into "database":"" and gives ERR invalid DB index
REDIS_DATABASE = "0"
results in "database":"0" and works
Also @studio1902 didnt mean to be snarky! I'm pretty sure I wrote this one in existence in the first place so the error is entirely mine!
Of course not! No worries 😀. Need to update the pr then. Vacation mode atm.
Using REDIS_DATABASE=0 won't work.