mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
Remove accidental static var (#3086)
This was never written to, so we don't need it, and it's a Sendable violation.
This commit is contained in:
1 parent
5a572f587c
commit
ce5d042a33
1 file changed
+1
-1
@@ -23,7 +23,7 @@ class Socket: BaseSocket, SocketProtocol {
|
||||
typealias SocketType = Socket
|
||||
|
||||
/// The maximum number of bytes to write per `writev` call.
|
||||
static var writevLimitBytes = Int(Int32.max)
|
||||
static let writevLimitBytes = Int(Int32.max)
|
||||
|
||||
/// The maximum number of `IOVector`s to write per `writev` call.
|
||||
static let writevLimitIOVectors: Int = Posix.UIO_MAXIOV
|
||||
|
||||
Reference in new issue
Block a user