According to the current documentation the maximum value for maxAutoRenewDuration is 5 minutes but can be increased to 10 minutes. This seems to be wrong because the default value is 5 minutes but in can be increased indefinitely and also should be increased if the function timeout is higher than the maxAutoRenewDuration. This should be also stated in the documentation e.g. something like this:
The maxAutoRenewDuration is configurable in host.json, which maps to OnMessageOptions.MaxAutoRenewDuration. The default for this setting is 5 minutes according to the Service Bus documentation, whereas you can increase the Functions time limit from the default.
According to the current documentation the maximum value for maxAutoRenewDuration is 5 minutes but can be increased to 10 minutes. This seems to be wrong because the default value is 5 minutes but in can be increased indefinitely and also should be increased if the function timeout is higher than the maxAutoRenewDuration. This should be also stated in the documentation e.g. something like this:
See MessageHandlerOptions.MaxAutoRenewDuration, ClientPumpRenewLockTimeout (default) and MessageReceivePump
Also the service bus lock can be renewed an unlimited time. See SO
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.