Azure Functions - Limiting parallel execution

后端 未结 3 1389
清酒与你
清酒与你 2021-01-01 09:47

Is it possible to limit the maximum number of Functions that run in parallel?

I read the documentation and came across this:

When multiple trigger

3条回答
  •  再見小時候
    2021-01-01 10:33

    Just for reference, I came across here in my search for throttling. You can use the [Singleton] attribute on your function ensuring only one-at-a-time execution. Maybe not really what you were looking for and a very rigorous way of throttling, but still, it is an option.

    https://docs.microsoft.com/en-us/azure/app-service/webjobs-sdk-how-to#singleton-attribute

提交回复
热议问题