Repository navigation
·
7 commits
to main
since this release
Changed
withServedFluentTestAppshuts down in a served app's order: the application's lifecycle handlers run before the server stops, as they do when a served app stops.
Fixed
- An app with open live-invalidation streams now stops promptly. Shutting down the application ends every open stream at once, so stopping the server no longer waits up to 15 seconds for each stream's next heartbeat, and Vapor no longer logs "Server stop took too long". A client that connects while the app is stopping gets a stream that ends at once.