From 8dc8b644b28553d37bbb1a0b1b90942ddf3ae8e2 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Wed, 11 Jun 2025 20:15:18 +0200 Subject: [PATCH] tart exec: do not limit RPC call duration to 1 second --- Sources/tart/Commands/Exec.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/tart/Commands/Exec.swift b/Sources/tart/Commands/Exec.swift index 3b6af89..27cf5eb 100644 --- a/Sources/tart/Commands/Exec.swift +++ b/Sources/tart/Commands/Exec.swift @@ -79,8 +79,7 @@ struct Exec: AsyncParsableCommand { private func execute(_ channel: GRPCChannel) async throws { let agentAsyncClient = AgentAsyncClient(channel: channel) - let callOptions = CallOptions(timeLimit: .timeout(.seconds(1))) - let execCall = agentAsyncClient.makeExecCall(callOptions: callOptions) + let execCall = agentAsyncClient.makeExecCall() try await execCall.requestStream.send(.with { $0.type = .command(.with {