Complying with new NIOPooledRecvBufferAllocator naming.

This commit is contained in:
Rafael Cepeda 2025-05-08 16:19:36 +01:00
parent b196953882
commit c06c50e74d
2 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ let package = Package(
.library(name: "NIOTransportServices", targets: ["NIOTransportServices"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.62.0"),
.package(url: "https://github.com/apple/swift-nio.git", branch: "main"),
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"),
],
targets: [

View File

@ -232,10 +232,10 @@ internal final class NIOTSConnectionChannel: StateManagedNWConnectionChannel {
/// A lock that guards the _addressCache.
internal let _addressCacheLock = NIOLock()
/// The `PooledRecvBufferAllocator` used to allocate buffers for incoming data
internal var recvBufferPool: PooledRecvBufferAllocator
/// The `NIOPooledRecvBufferAllocator` used to allocate buffers for incoming data
internal var recvBufferPool: NIOPooledRecvBufferAllocator
/// A constant to hold the maximum amount of buffers that should be created by the `PooledRecvBufferAllocator`
/// A constant to hold the maximum amount of buffers that should be created by the `NIOPooledRecvBufferAllocator`
///
/// Once we allow multiple messages per read on the channel, this should become a `maxMessagesPerRead` property
/// and a corresponding channel option that users can configure.