Browse Source

Update configuration.rst

I removed duplicates (BROKER_FAILOVER_STRATEGY)
Tomek Święcicki 10 years ago
parent
commit
bb4193b26b
1 changed files with 0 additions and 20 deletions
  1. 0 20
      docs/configuration.rst

+ 0 - 20
docs/configuration.rst

@@ -961,26 +961,6 @@ Example::
 
 .. setting:: BROKER_TRANSPORT
 
-BROKER_FAILOVER_STRATEGY
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-Default failover strategy for the broker Connection object. If supplied,
-may map to a key in 'kombu.connection.failover_strategies', or be a reference
-to any method that yields a single item from a supplied list.
-
-Example::
-
-    # Random failover strategy
-    def random_failover_strategy(servers):
-        it = list(it)  # don't modify callers list
-        shuffle = random.shuffle
-        for _ in repeat(None):
-            shuffle(it)
-            yield it[0]
-
-    BROKER_FAILOVER_STRATEGY=random_failover_strategy
-
-
 BROKER_TRANSPORT
 ~~~~~~~~~~~~~~~~
 :Aliases: ``BROKER_BACKEND``