0

Is it possible to set the maximum number of concurrently running function instances when using the consumption plan. I'm aware that I can set some max numbers in the host.json - but that is for a single function instance. So even when I set

{
  "queues": {
    "batchSize": 1,    
    "newBatchThreshold": 1
  }
}

It just starts to scale out to multiple instances. This would be perfect if the my backend could handle the load, but in my case it can't so I would like function app to have a max number of parallelism set, e.g. max 5 instances.

1 Answer 1

1

This is not possible at present, though feel free to file an issue on github.

See this post for other discussion on concurrency, your only option from a functions perspective is to switch to dedicated.

Sign up to request clarification or add additional context in comments.

1 Comment

That is pretty sad. Guess I have to open an issue then.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.