Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
fumufu86
tower
Commits
fdce6e8a
Commit
fdce6e8a
authored
Apr 10, 2018
by
Aleksey Shirokih
Browse files
Fix migrations
parent
58e57af1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/migrations/035_remove_instances.py
View file @
fdce6e8a
...
...
@@ -210,7 +210,7 @@ def migrate(migrator):
if
"password"
in
conf
:
del
conf
[
'password'
]
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
:
del
conf
[
'pgbouncer_max_clients'
]
if
srv
.
service
==
'mongod'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment