aws / aws/serverless-java-container
Use Futures instead of latches to synchronize request processing
Offen
enhancement
- Vorherrschende Sprache
- Java
- Sterne
- 1.6k
- Forks
- 574
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
* Framework version: 2.0
* Implementations: All
## Scenario
The framework currently uses latches on the `HttpServletResponse` implementation to wait for the completion of a request. We should change this to use Futures. This need for this was highlighted in #272 as throwing an exception without releasing the latch may cause memory leaks.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.