diff --git a/fabfile.py b/fabfile.py index cac493b32..81efe1a38 100644 --- a/fabfile.py +++ b/fabfile.py @@ -474,7 +474,7 @@ def setup_supervisor(): sudo('sleep 2') sudo('/etc/init.d/supervisor start') -# @parallel +@parallel def setup_hosts(): put('../secrets-newsblur/configs/hosts', '/etc/hosts', use_sudo=True) diff --git a/node/unread_counts.coffee b/node/unread_counts.coffee index 3b7492754..0db301109 100644 --- a/node/unread_counts.coffee +++ b/node/unread_counts.coffee @@ -1,7 +1,7 @@ fs = require 'fs' redis = require 'redis' -REDIS_SERVER = if process.env.NODE_ENV == 'development' then 'localhost' else 'db10' +REDIS_SERVER = if process.env.NODE_ENV == 'development' then 'localhost' else 'db12' SECURE = !!process.env.NODE_SSL client = redis.createClient 6379, REDIS_SERVER diff --git a/node/unread_counts.js b/node/unread_counts.js index 5c4f15743..642540859 100644 --- a/node/unread_counts.js +++ b/node/unread_counts.js @@ -6,7 +6,7 @@ redis = require('redis'); - REDIS_SERVER = process.env.NODE_ENV === 'development' ? 'localhost' : 'db10'; + REDIS_SERVER = process.env.NODE_ENV === 'development' ? 'localhost' : 'db12'; SECURE = !!process.env.NODE_SSL; diff --git a/settings.py b/settings.py index 0599274ed..fbf9a0e74 100644 --- a/settings.py +++ b/settings.py @@ -430,7 +430,7 @@ class MasterSlaveRouter(object): # ========= REDIS = { - 'host': 'db10', + 'host': 'db12', } SESSION_REDIS_DB = 5 diff --git a/templates/maintenance_off.html b/templates/maintenance_off.html index cdbea673a..23a36a1ff 100644 --- a/templates/maintenance_off.html +++ b/templates/maintenance_off.html @@ -79,7 +79,7 @@

NewsBlur is in maintenance mode

-

This will take approximately 2-3 minutes. Redis is throwing errors left and right and needs to be switched out.

+

This will take approximately 10 minutes. Moving the Redis DB to a beefier machine. This needs to happen, but it's why we had that spot of downtime a minute ago.

To pass the time, go surf MLKSHK's popular page.