mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: We now have sufficiently many integration tests that the number of TCP sockets in TIME_WAIT begins to cause resource pressure on the system. This can lead to the integration tests failing due to being unable to assign a socket. We can force this to not happen by disabling linger. As we're running on a lossless fabric (localhost), this is entirely safe. Modifications: - Disable TIME_WAIT for integration tests. Result: Integration tests will pass. Co-authored-by: Johannes Weiss <johannesweiss@apple.com> Co-authored-by: Peter Adams <pp_adams@apple.com>