Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added Task namespacing to README

  • Loading branch information...
commit 9f83ebafa8736e153a0a5eb63548226d39eeb04b 1 parent ffd6d6e
@jsk jsk authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.rst
View
12 README.rst
@@ -211,6 +211,18 @@ Django can call custom management commands programatically, via django.core.mana
By using job submission wrapper Command 'gearman_submit_job',
you are now able submit jobs from console, cron and your app with same API.
+Task namespaces
+---------------
+
+Sometimes it can be useful to distinguish between jobs submitted with same task name from several applications connected
+to same gearman servers. For example, you may have several instances of same django project deployed for individual
+clients.
+In that case, you can add GEARMAN_CLIENT_NAMESPACE to your django settings to uniquely identify tasks
+submitted by project::
+
+ GEARMAN_CLIENT_NAMESPACE = 'MyCustomer1'
+
+
Gearman server info
-------------------
Please sign in to comment.
Something went wrong with that request. Please try again.