Browse Source

Execution options to `apply_async` should take precedence over routes. Closes #244

Ask Solem 14 years ago
parent
commit
b0f42919f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/routes.py

+ 1 - 1
celery/routes.py

@@ -43,7 +43,7 @@ class Router(object):
             route = self.lookup_route(task, args, kwargs)
             if route:
                 # Also expand "queue" keys in route.
-                return merge(options, self.expand_destination(route))
+                return merge(self.expand_destination(route), options)
         return options
 
     def expand_destination(self, route):