akka/akka-http
Use new shutdown hooks in Akka 2.5 to prevent AbruptTerminationException in Http infrastructure
开放
#907 创建于 2017年2月27日
1 - triagedhelp wantedt:core
仓库指标
- 星标
- (1,311 个星标)
- PR 合并指标
- (平均合并 1天 10小时) (30 天内合并 2 个 PR)
描述
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.