Reputation: 5487
I have a function set up with ServiceBusTrigger
which runs when it is deployed and then keeps running while I'm testing and sending messages to a topic. However, if I wait an hour or so and then send more messages they are not processed until I either restart the function app or disable and reenable the actual function.
How can I change this so that the function is always "on"?
Upvotes: 0
Views: 247
Reputation: 18526
Sounds like you are using a dedicated App Service Plan. Make sure you have "Always On" enabled. You need to have at least a "Basic" plan. If you don't want to pay for a basic plan, I suggest you use a consumption plan.
How do I turn on "always-on" for an Azure Function?
Upvotes: 2