#1830 - Adding warning section in dispatcher docs for the default dispatcher

This commit is contained in:
Viktor Klang 2012-02-17 13:06:50 +01:00
parent ee6e7e3a2d
commit ee08695e6f
2 changed files with 8 additions and 0 deletions

View file

@ -24,6 +24,10 @@ If you are starting to get contention on the single dispatcher (the ``Executor``
for a dedicated dispatcher for better flexibility and configurability then you can override the defaults and define your own dispatcher.
See below for details on which ones are available and how they can be configured.
.. warning::
Try to stick to a sensible default dispatcher, that means avoid using CallingThreadDispatcher, BalancingDispatcher or PinnedDispatcher
as the default-dispatcher. This is because they have very specific requirements from the environment in which they are used.
Setting the dispatcher
----------------------

View file

@ -24,6 +24,10 @@ If you are starting to get contention on the single dispatcher (the ``Executor``
for a dedicated dispatcher for better flexibility and configurability then you can override the defaults and define your own dispatcher.
See below for details on which ones are available and how they can be configured.
.. warning::
Try to stick to a sensible default dispatcher, that means avoid using CallingThreadDispatcher, BalancingDispatcher or PinnedDispatcher
as the default-dispatcher. This is because they have very specific requirements from the environment in which they are used.
Setting the dispatcher
----------------------