+doc more visible note on connection pool shutdown
This commit is contained in:
parent
c294a22d22
commit
a489c703fd
2 changed files with 10 additions and 0 deletions
|
|
@ -144,6 +144,11 @@ It's also possible to trigger the immediate termination of *all* connection pool
|
|||
time by calling ``Http.get(system).shutdownAllConnectionPools()``. This call too produces a ``CompletionStage<Done>`` which is fulfilled when
|
||||
all pools have terminated.
|
||||
|
||||
.. note::
|
||||
When encoutering unexpected ``akka.stream.AbruptTerminationException`` exceptions during ``ActorSystem`` **shutdown**
|
||||
please make sure that active connections are shut down before shutting down the entire system, this can be done by
|
||||
calling the ``Http.get(system).shutdownAllConnectionPools()`` method, and only once its CompletionStage completes,
|
||||
shutting down the actor system.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
|
|
|||
|
|
@ -143,6 +143,11 @@ It's also possible to trigger the immediate termination of *all* connection pool
|
|||
time by calling ``Http().shutdownAllConnectionPools()``. This call too produces a ``Future[Unit]`` which is fulfilled when
|
||||
all pools have terminated.
|
||||
|
||||
.. note::
|
||||
When encoutering unexpected ``akka.stream.AbruptTerminationException`` exceptions during ``ActorSystem`` **shutdown**
|
||||
please make sure that active connections are shut down before shutting down the entire system, this can be done by
|
||||
calling the ``Http().shutdownAllConnectionPools()`` method, and only once its Future completes, shutting down the actor system.
|
||||
|
||||
|
||||
Example
|
||||
-------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue