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:
Cory Benfield authored and GitHub committed 2025-01-24 14:10:43 +00:00
1 parent 5a572f587c
commit ce5d042a33
1 file changed
+1 -1
+1 -1
View File
@@ -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