Closed shaykchen closed 2 years ago
There is a mistake in the host.json
configuration - sessionHandlerOptions
should be on the same level as messageHandlerOptions
and inside serviceBus
node.
See the doc for Functions 2.x:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus?tabs=in-process%2Cfunctionsv2%2Cextensionv3&pivots=programming-language-javascript#hostjson-settings
Issue:
SessionHandlerOptions.MaxAutoRenewDuration was defined as 3-hour in host.json file:
But it was overwritten to default value 5-minute as follows:
Repro Steps:
Workaorund:
Seems no workaround so far.