Forum Discussion

Jeremy Hancock's avatar
Jeremy Hancock
Brass Contributor
Oct 30, 2017
Solved

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...
  • Bernd Verhofstadt's avatar
    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

     

Resources