Tags: vapor/vapor
Tags
Add Async Storage shutdown (#3196) * Make storage shutdown async * Command should be noasync not deprecated * Async client * Async shutdown first * Update Sources/Vapor/Commands/ServeCommand.swift Co-authored-by: Gwynne Raskind <gwynne@vapor.codes> * Fix some test warnings * Client Response should be Sendable * Work around API issue * Don't run sync shutdown if we have an async one --------- Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
Add Async Lifecycle Handlers (#3193) * Add async functions on Lifecycle handler * Hook up async shutdown * Hook up the rest of the lifecycle handler * Hookup async stuff * Add some docs for Lifecycle handlers * Add async tests for lifecycle handler * Fix the tests * Clarify some of the docs * Try and reduce a flaky test * Fix the tests * Redisable test as its extremely flaky
Support compiling against Musl (#3188) Vapor already makes some provision for compiling against Musl in the RFC1123 implementation, where `Glibc` is not assumed and is imported conditionally alongside a conditional import of `Musl`. However, there are a couple of other places where `Glibc` is still assumed when compiling for Linux. This patch replaces these imports with the same `#if canImport(...)` pattern. Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
PreviousNext