From d31c1d0fbf02bde5d4dc2be24762d872da64935f Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 26 Jan 2015 15:43:05 +0100 Subject: [PATCH] add new route 'web' for web server configuration --- celeryrouters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/celeryrouters.py b/celeryrouters.py index ec7b122..44c4b4f 100644 --- a/celeryrouters.py +++ b/celeryrouters.py @@ -5,7 +5,7 @@ from __future__ import unicode_literals class GvaRouter(object): def route_for_task(self, task, args=None, kwargs=None): - for route in ['ldap', 'file', 'mysql', 'pgsql']: + for route in ['ldap', 'file', 'mysql', 'pgsql', 'web']: if route in task: return { 'exchange': route,