Parallel pgbouncer kill.

This commit is contained in:
Samuel Clay 2017-03-15 20:16:36 -07:00
parent 4f8a1c43b3
commit 013593411f
2 changed files with 2 additions and 1 deletions

1
fabfile.py vendored
View file

@ -566,6 +566,7 @@ def config_pgbouncer():
run('sleep 2')
sudo('/etc/init.d/pgbouncer start', pty=False)
@parallel
def kill_pgbouncer(bounce=True):
# sudo('su postgres -c "/etc/init.d/pgbouncer stop"', pty=False)
with settings(warn_only=True):

View file

@ -85,7 +85,7 @@
<img src="/media/img/logo_512.png" class="logo">
<h1>NewsBlur is in <span class="error404">maintenance mode</span></h1>
<div class="description">
<p>Switching to an even bigger Redis server to handle the increased load from the new dashboard river.</p>
<p>Upgrading the Postgresql and Redis servers. Why not do both at once? This should take about 5 minutes, hopefully less if all goes well.</p>
<p>To pass the time, <a href="http://mlkshk.com/popular">check out what's popular on MLKSHK</a>.</p>
</div>
</div>