From 875ddf7807aed8caaf0cc140c0262cc9164e3fd0 Mon Sep 17 00:00:00 2001 From: Joshua Sosso Date: Mon, 11 Nov 2024 23:52:25 -0600 Subject: [PATCH] update --- Sources/ArriClient/ArriClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ArriClient/ArriClient.swift b/Sources/ArriClient/ArriClient.swift index 7b108f0..c03e478 100644 --- a/Sources/ArriClient/ArriClient.swift +++ b/Sources/ArriClient/ArriClient.swift @@ -274,7 +274,7 @@ public struct DefaultRequestDelegate: ArriRequestDelegate { } public func handleHTTPEventStreamRequest(request: ArriHTTPRequest) async throws -> ArriSSEResponse { let httpRequest = self.prepareHttpRequest(request: request) - let response = try await HTTPClient.shared.execute(httpRequest, timeout: .seconds(5)) + let response = try await HTTPClient.shared.execute(httpRequest, timeout: .minutes(10)) if response.status.code >= 200 && response.status.code < 300 && response.headers["Content-Type"].contains("text/event-stream") { return .ok(ArriHTTPResponse( statusCode: UInt32(response.status.code),