mirror of https://github.com/cirruslabs/tart.git
tart exec: do not limit RPC call duration to 1 second
This commit is contained in:
parent
b625c04131
commit
8dc8b644b2
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue