Replies: 2 comments
-
To change the timeout for the For example, you can configure the services.AddElsa(elsa => elsa
.AddHttpActivities(options => options
.ConfigureHttpClient(client => client.Timeout = TimeSpan.FromMinutes(5)) // Set the desired timeout
)
); This code snippet sets the timeout for all HTTP requests made by the Remember to place this configuration code in the appropriate place in your application's startup sequence, where you are configuring Elsa services. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
It doesn't work in Elsa 3.x |
Beta Was this translation helpful? Give feedback.
-
Hi
I want to send a http request using SendHttpRequest but it takes a long time and the request is timed out in 100 seconds. I could change the request time out in Elsa Source in SendHttpRequestBase.cs in TrySendAsync but it's not good when deploying the project.
So could you help me with that?
Beta Was this translation helpful? Give feedback.
All reactions