From 771b21b0c152b954b3c7fa5ad2d59d7d7e1c516a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Vasile=20Vu=C8=99can?= Date: Thu, 6 Feb 2025 12:17:58 +0200 Subject: [PATCH] Exposed HttpClientTimeout setting in ElsaClientBuilderOptions --- .../Elsa.Api.Client/Options/ElsaClientBuilderOptions.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/clients/Elsa.Api.Client/Options/ElsaClientBuilderOptions.cs b/src/clients/Elsa.Api.Client/Options/ElsaClientBuilderOptions.cs index 52b0b1b77..debd1c303 100644 --- a/src/clients/Elsa.Api.Client/Options/ElsaClientBuilderOptions.cs +++ b/src/clients/Elsa.Api.Client/Options/ElsaClientBuilderOptions.cs @@ -19,6 +19,11 @@ public class ElsaClientBuilderOptions /// Gets or sets the API key function to use when authenticating with the Elsa server. /// public string? ApiKey { get; set; } + + /// + /// Gets or sets the http client timeout on Elsa server. + /// + public TimeSpan HttpClientTimeout { get; set; } = TimeSpan.FromSeconds(60); /// /// A type that can be used to authenticate with the Elsa server.