Skip to content

Commit

Permalink
Update Sources/NIOPosix/NonBlockingFileIO.swift
Browse files Browse the repository at this point in the history
Co-authored-by: George Barnett <[email protected]>
  • Loading branch information
adam-fowler and glbrntt authored Nov 16, 2023
1 parent c93ce06 commit 09763c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOPosix/NonBlockingFileIO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public struct NonBlockingFileIO: Sendable {
let byteCount = rawByteCount < Int32.max ? rawByteCount : size_t(Int32.max)

return self.threadPool.runIfActive(eventLoop: eventLoop) { () -> ByteBuffer in
try readSync(fileHandle: fileHandle, fromOffset: fromOffset, byteCount: byteCount, allocator: allocator)
try self.readSync(fileHandle: fileHandle, fromOffset: fromOffset, byteCount: byteCount, allocator: allocator)
}
}

Expand Down

0 comments on commit 09763c5

Please sign in to comment.