Prechádzať zdrojové kódy

Update README.rst file to include CSTRESS_BROKER.

Roger Hu 10 rokov pred
rodič
commit
8753e2c52e
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      funtests/stress/README.rst

+ 7 - 0
funtests/stress/README.rst

@@ -153,6 +153,13 @@ See ``python -m stress --help`` for a list of all available options.
 Options
 =======
 
+Using a different broker
+------------------------
+You can set the environment ``CSTRESS_BROKER`` to change the broker used::
+
+    $ CSTRESS_BROKER='amqp://' celery -A stress worker # …
+    $ CSTRESS_BROKER='amqp://' python -m stress
+
 Using a different result backend
 --------------------------------