Skip to content

Commit

Permalink
Merge pull request #3 from miketonks/sslmode-prefer
Browse files Browse the repository at this point in the history
Change sslmode back to prefer
  • Loading branch information
miketonks authored Aug 5, 2021
2 parents 909f2c9 + 3330724 commit e110c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def write_recovery_conf(self, leader_hash):
leader = urlparse(leader_hash["address"])
logger.info("Write Recovery Conf: %s:%s", leader.hostname, leader.port)
f.write("""
primary_conninfo = 'user=%(user)s password=%(password)s host=%(hostname)s port=%(port)s sslmode=require sslcompression=1'
primary_conninfo = 'user=%(user)s password=%(password)s host=%(hostname)s port=%(port)s sslmode=prefer sslcompression=1'
""" % {"user": leader.username, "password": leader.password, "hostname": leader.hostname, "port": leader.port})

if "recovery_conf" in self.config:
Expand Down

0 comments on commit e110c1f

Please sign in to comment.