pekko/akka-http-core
Patryk Jażdżewski 62b4ecf67c +htc #20456 Add hot connection pool via the minConnections setting (#20723)
* 20456: add hot connection pool via the minConnections setting

* added the akka.http.host-connection-pool.min-connections setting to reference.conf
* modified config implementation s o it's being read, with 0 as default
* based on the setting two types of pools will be created - hot and cold
* hot ones will start ASAP and not close when the number of active connections fall to 0

* PR remarks: english, remove getIntOpt ...

Moving logic into PoolConductor WIP

* WIP: moving minConnections logic into PoolConductor, needs more precise tests

* added testing via expectNextN in ConnectionPoolSpec.scala; fixed the bug with skipping the actor state in PoolSlot

* fix comments from PR: make sure PoolConductor produces only SwitchSlotCommand

* fix typo: slotSettings -> slots

* Fix style after code review
- inline short snippets
- shorter Mima
- better naming
- make SlotCommands final
2016-06-27 10:55:39 +02:00
..
src +htc #20456 Add hot connection pool via the minConnections setting (#20723) 2016-06-27 10:55:39 +02:00
build.sbt #18765 Update to latest MiMa which is now an AutoPlugin. 2016-03-10 10:45:35 +02:00
RunWebSocketAutobahnTestSuite.md !htc,doc,htp #19508 fix casing of WebSocket (as per spec) 2016-01-22 11:12:22 +01:00