From 09735a4bc196cef5f6d37d2bc67d9471ee905258 Mon Sep 17 00:00:00 2001 From: Filipe Farinha <92974977+ffarinha-msft@users.noreply.github.com> Date: Thu, 6 Nov 2025 10:49:37 +0000 Subject: [PATCH 1/3] functionTimeout adding format examples Added detailed explanation for functionTimeout format and usage. --- articles/azure-functions/functions-host-json.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/articles/azure-functions/functions-host-json.md b/articles/azure-functions/functions-host-json.md index a9f7fbd5ba7ae..cbc441d463b7e 100644 --- a/articles/azure-functions/functions-host-json.md +++ b/articles/azure-functions/functions-host-json.md @@ -325,13 +325,21 @@ A list of functions that the job host runs. An empty array means run all functio ## functionTimeout -Indicates the timeout duration for all function executions. It follows the timespan string format. A value of `-1` indicates unbounded execution, but keeping a fixed upper bound is recommended. +Indicates the timeout duration for all function executions. It follows the [timespan string format](https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-timespan-parse). A value of `-1` indicates unbounded execution, but keeping a fixed upper bound is recommended. ```json { "functionTimeout": "00:05:00" } ``` +The format of the timespan string needs to follow the syntax `[d.]hh:mm:ss` and the valid values are: +- d = days (optional) +- hh = hours (0–23) +- mm = minutes (0-59) +- ss = seconds (0-59) + +> [!TIP] +> If you want to set a 24 hours timeout you cannot define it as `"24:00:00"` instead you need to use `"1.00:00:00"` or `"23:59:59"` For more information on the default and maximum values for specific plans, see [Function app timeout duration](./functions-scale.md#timeout). From 633ffbf04ee1dd5bc53e8f2db607700aead68bd5 Mon Sep 17 00:00:00 2001 From: Filipe Farinha <92974977+ffarinha-msft@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:28:03 +0000 Subject: [PATCH 2/3] Update articles/azure-functions/functions-host-json.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- articles/azure-functions/functions-host-json.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/azure-functions/functions-host-json.md b/articles/azure-functions/functions-host-json.md index cbc441d463b7e..0f3b5a7eb4605 100644 --- a/articles/azure-functions/functions-host-json.md +++ b/articles/azure-functions/functions-host-json.md @@ -335,8 +335,8 @@ Indicates the timeout duration for all function executions. It follows the [time The format of the timespan string needs to follow the syntax `[d.]hh:mm:ss` and the valid values are: - d = days (optional) - hh = hours (0–23) -- mm = minutes (0-59) -- ss = seconds (0-59) +- mm = minutes (0–59) +- ss = seconds (0–59) > [!TIP] > If you want to set a 24 hours timeout you cannot define it as `"24:00:00"` instead you need to use `"1.00:00:00"` or `"23:59:59"` From 1cbdbc43296d86740439fb32b16617d6a71ef438 Mon Sep 17 00:00:00 2001 From: Filipe Farinha <92974977+ffarinha-msft@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:28:25 +0000 Subject: [PATCH 3/3] Update articles/azure-functions/functions-host-json.md Co-authored-by: Diana Richards --- articles/azure-functions/functions-host-json.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/azure-functions/functions-host-json.md b/articles/azure-functions/functions-host-json.md index 0f3b5a7eb4605..b2c6bfecf4ef7 100644 --- a/articles/azure-functions/functions-host-json.md +++ b/articles/azure-functions/functions-host-json.md @@ -325,7 +325,7 @@ A list of functions that the job host runs. An empty array means run all functio ## functionTimeout -Indicates the timeout duration for all function executions. It follows the [timespan string format](https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-timespan-parse). A value of `-1` indicates unbounded execution, but keeping a fixed upper bound is recommended. +Indicates the timeout duration for all function executions. It follows the [timespan string format](https://learn.microsoft.com/dotnet/fundamentals/runtime-libraries/system-timespan-parse). A value of `-1` indicates unbounded execution, but keeping a fixed upper bound is recommended. ```json {