implementing Azure Durable Functions handling timeouts in long-running orchestration with HTTP triggers
I'm trying to configure I'm trying to implement I'm stuck on something that should probably be simple. I'm experiencing a question with Azure Durable Functions where long-running orchestration workflows that are triggered by HTTP requests are timing out unexpectedly. Specifically, I have an orchestration function that processes data in a loop, and it sometimes exceeds the 5-minute timeout limit imposed on HTTP requests. I tried configuring the `FunctionTimeout` setting in the `host.json` file, but it seems to have no effect because the HTTP trigger is still timing out. Hereβs a snippet of my orchestration function: ```csharp [FunctionName("LongRunningOrchestration")] public static async Task RunOrchestrator([OrchestrationTrigger] IDurableOrchestrationContext context) { var input = context.GetInput<string>(); for (int i = 0; i < 10; i++) { await context.CallActivityAsync("ProcessData", input); } } ``` Iβve also set up a separate activity function like this: ```csharp [FunctionName("ProcessData")] public static async Task ProcessData([ActivityTrigger] string input, ILogger log) { // Simulating a long-running process await Task.Delay(60000); // Delay for 1 minute log.LogInformation($"Processed: {input}"); } ``` To handle the timeouts, I tried to call the orchestration function from a timer instead of an HTTP trigger, but that doesn't align with the user experience I want to offer. I also read about using a queue trigger but switching to that model seems like overkill for this scenario. Is there a recommended approach to manage long-running orchestrations in Azure Durable Functions triggered by HTTP requests, or do I need to rethink the architecture altogether? Any help would be greatly appreciated! My development environment is Windows. Any help would be greatly appreciated! For context: I'm using C# on macOS. Any help would be greatly appreciated! I'm using C# 3.9 in this project. Has anyone dealt with something similar? Any feedback is welcome!