Alen Alex
Alen Alex

Reputation: 979

Azure Function app crashing after 30 minutes

I'm working on an Azure Function App. I was running it, and after 30 minutes it just stopped working.

It did not throw any exception. (The try-catch in the Run function did not catch any).

I'm using App Service Plan - Standard Plan.
Function App Version: 2

Am I missing anything here. Any help is much appreciated.

Thanks.

Upvotes: 1

Views: 2298

Answers (1)

Hury Shen
Hury Shen

Reputation: 15754

The default timeout of azure function with app service plan is 30 minutes, please refer to this tutorial or the screenshot below: enter image description here

You can change it to unbounded execution by editing the host.json, please refer to this tutorial (also post the screenshot below for your reference) enter image description here

Hope it would be helpful to your problem~

Upvotes: 2

Related Questions