Verified Commit eeb6621a authored by Vojtech Myslivec's avatar Vojtech Myslivec 🚀

apiv1: db instance 0 is the default

parent 178b5c5b
......@@ -20,8 +20,7 @@ def get_redis():
if r is None:
r = g.redis = redis.StrictRedis(host=current_app.config["REDIS_HOST"],
port=current_app.config["REDIS_PORT"],
password=current_app.config["REDIS_PASSWORD"],
db=0)
password=current_app.config["REDIS_PASSWORD"])
return r
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment