From a97b26909b48bc462d2fc8ac67fbbf3d635e86d2 Mon Sep 17 00:00:00 2001 From: Johannes Weiss Date: Fri, 3 Jul 2026 17:52:04 +0100 Subject: [PATCH] EL takeover works on 6.4 & main (#3645) ### Motivation: EventLoop takeover of the Concurrency pool works fine on 6.4 & main. ### Modifications: Raise limit. ### Result: More speed. --- Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift b/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift index b744a11b9..14c66f0fa 100644 --- a/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift +++ b/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift @@ -46,7 +46,7 @@ extension NIOSingletons { return false #else // Guard between the minimum and maximum supported version for the hook - #if compiler(<6.4) + #if compiler(<6.6) guard #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) else { return false }