Azure / Azure/azure-functions-host

Add the ability to specify a timeout on a function level

Open
#1,363 4 comments 1 reaction 0 assignees View on GitHub
area: configuration enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

Currently functions can run forever on dedicated app plans. I'm fine with this, but on some of my processing functions need fine grained timeouts. If it doesn't finish in 20 seconds it will never finish and I want to kill it. There currently doesn't seem to be a way to do this today.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Azure Functions host/runtime handling for dedicated-plan execution and any existing timeout configuration. Confirm how a function-level 20-second limit should interact with the current plan behavior, then verify that an invocation exceeding the configured limit is terminated and that the existing behavior remains unchanged when no function-level timeout is set.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.