tart exec: use 64 KiB Tart Guest Agent receive windows (#1372)

This commit is contained in:
edi-oai
2026-10-15 15:37:09 +01:00
committed by GitHub
parent bb5cb01d31
commit 543453404c
+5 -2
View File
@@ -14,8 +14,11 @@ func withGuestAgentChannel<T>(
let channel = try GRPCChannelPool.with(
target: .unixDomainSocket(socketPath),
transportSecurity: .plaintext,
eventLoopGroup: .singletonMultiThreadedEventLoopGroup,
)
eventLoopGroup: .singletonMultiThreadedEventLoopGroup
) { configuration in
// Limit guest output in flight to work around VirtIO socket device implementation data loss
configuration.http2.targetWindowSize = 64 * 1024
}
do {
let result = try await body(channel)