diff --git a/FlyingSocks/Sources/SocketPool+ePoll.swift b/FlyingSocks/Sources/SocketPool+ePoll.swift index d2efd173..0e46582b 100644 --- a/FlyingSocks/Sources/SocketPool+ePoll.swift +++ b/FlyingSocks/Sources/SocketPool+ePoll.swift @@ -38,22 +38,10 @@ public extension AsyncSocketPool where Self == SocketPool { } private init(maxEvents limit: Int, logger: some Logging = .disabled) { - self.init(queue: FlyingSocks.ePoll(maxEvents: limit, logger: logger), logger: logger) + .init(queue: FlyingSocks.ePoll(maxEvents: limit, logger: logger), logger: logger) } } -public extension AsyncSocketPool where Self == SocketPool { - static func poll(interval: Poll.Interval = .seconds(0.01), logger: some Logging = .disabled) -> SocketPool { - .init(interval: interval, logger: logger) - } - - init(interval: Poll.Interval = .seconds(0.01), logger: some Logging) { - self.init(queue: Poll(interval: interval, logger: logger), logger: logger) - } -} - - - public struct ePoll: EventQueue { private(set) var file: Socket.FileDescriptor