aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn')
-rw-r--r--python/Dawn/views.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index daed2bba..f2336e33 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -28,10 +28,10 @@ def get_queue():
q = getattr(g, 'queue', None)
if q is None:
hostname = socket.gethostname()
- if hostname == 'debian':
- q = g.queue = redis.Redis(unix_socket_path='/var/run/redis/redis.sock')
- elif hostname =='gomez':
- q = g.queue = redis.Redis(host='debian')
+ if hostname == 'ziggy':
+ q = g.queue = redis.Redis(unix_socket_path='/run/redis/redis.sock')
+ elif hostname == 'debian':
+ q = g.queue = redis.Redis(host='ziggy')
return q
def get_db():