Forum Discussion
Jeremy Hancock
Oct 30, 2017Brass Contributor
Using SharePoint Webhooks with Azure functions concurrency
I have worked out how to setup my SharePoint Webhook to post to an Azure Function. The function drops an entry in a queue and that triggers another function. I am storing the last change value in a b...
- Feb 14, 2018
Hi,
If you go to your function app settings, you should be able to edit the host.json file at the bottom. To reduce the number of runs you can make use of the following code:
{ "queues": { "maxPollingInterval": 2000, "visibilityTimeout": "00:00:30", "batchSize": 1, "maxDequeueCount": 5 }, "http": { "routePrefix": "api", "maxOutstandingRequests": 20, "maxConcurrentRequests": 1, "dynamicThrottlesEnabled": false } }Cheers
Bernd
Bernd Verhofstadt
Feb 14, 2018Iron Contributor
Hi,
If you go to your function app settings, you should be able to edit the host.json file at the bottom. To reduce the number of runs you can make use of the following code:
{
"queues": {
"maxPollingInterval": 2000,
"visibilityTimeout": "00:00:30",
"batchSize": 1,
"maxDequeueCount": 5
},
"http": {
"routePrefix": "api",
"maxOutstandingRequests": 20,
"maxConcurrentRequests": 1,
"dynamicThrottlesEnabled": false
}
}
Cheers
Bernd