Azure / Azure/azure-functions-host

Setting Service Bus MaxConcurrentCalls via App Settings in Portal not updating config

Open
#7,216 3 comments 0 reactions 1 assignee Claimed by @v-bbalaiagar View on GitHub
needs-investigation
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Investigative information

OS/Plan Info: Linux Function App on Dedicated Plan

#### Repro steps

Provide the steps required to reproduce the problem:

`host.json` has the following settings:

```` json
{
"version": "2.0",
"extensions": {
"serviceBus": {
"prefetchCount": 100,
"messageHandlerOptions": {
"autoComplete": true,
"maxConcurrentCalls": 20,
"maxAutoRenewDuration": "00:05:00"
}
}
}
}
````

In Azure Portal, override `PrefetchCount` and `MaxConcurrentCalls` via app settings:

![image](https://user-images.githubusercontent.com/2897853/110485444-a1652e80-80b9-11eb-9e8a-6a2eba036c89.png)

#### Expected behavior

- `PrefetchCount` updated to 200
- `MaxConcurrentCalls` updated to 35.

#### Actual behavior

- `PrefetchCount` updated to 200 as expected.
- `MaxConcurrentCalls` **is not updated** and remains set at the original value in the `host.json` file.

![image](https://user-images.githubusercontent.com/2897853/110485727-f143f580-80b9-11eb-8ae3-4304bd6d3c05.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.