mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-18 03:53:56 +02:00
tart exec: use 64 KiB Tart Guest Agent receive windows (#1372)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user