akka/akka-http

Use new shutdown hooks in Akka 2.5 to prevent AbruptTerminationException in Http infrastructure

Aberta

#907 aberto em 27 de fev. de 2017

 (5 comentários) (10 reações) (0 responsável)Scala (598 forks)batch import
1 - triagedhelp wantedt:core

Métricas do repositório

Stars
 (1.311 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 10h) (2 fundiu PRs em 30d)

Description

There are already some hook phases pre-allocated for exactly this purpose.

All active components should be shutdown in the hook:

  • Http().shutdownAllConnectionPools
  • Also introduce some infrastructure to track open server bindings and shut them down.

Guia do colaborador