diff --git a/pifpaf/drivers/redis.py b/pifpaf/drivers/redis.py index 0e2360b..270dcae 100644 --- a/pifpaf/drivers/redis.py +++ b/pifpaf/drivers/redis.py @@ -59,6 +59,7 @@ class RedisDriver(drivers.Driver): with open(cfg, "w") as f: f.write("""dir %s port %d +sentinel resolve-hostnames yes sentinel monitor pifpaf localhost %d 1""" % (self.tempdir, self.sentinel_port, self.port))