Commit fdce6e8a authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Fix migrations

parent 58e57af1
...@@ -210,7 +210,7 @@ def migrate(migrator): ...@@ -210,7 +210,7 @@ def migrate(migrator):
if "password" in conf: if "password" in conf:
del conf['password'] del conf['password']
if srv.service == 'pgbouncer': if srv.service == 'pgbouncer':
conf['max_clients'] = conf.get('pgbouncer_max_clients', '3000') conf['max_clients'] = conf.get('pgbouncer_max_clients', 3000)
if "pgbouncer_max_clients" in conf: if "pgbouncer_max_clients" in conf:
del conf['pgbouncer_max_clients'] del conf['pgbouncer_max_clients']
if srv.service == 'mongod': if srv.service == 'mongod':
Supports Markdown
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