title: Azure Functions host.json: maxPollingInterval
body: <p>If I read the documentation for maxPollingInterval:</p>
  
  <blockquote>
    <p>The maximum interval between queue polls</p>
  </blockquote>
  
  <p>From here: <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue#hostjson-settings" rel="noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue#hostjson-settings</a></p>
  
  <p>I have set it to 00:01:00 in my host.json. How I understand it is that I have told the functions runtime that it may not do a poll every 2. minute. It has to do it <em>atleast</em> every minute, but if the queue from which it is reading is "hot", that is, there is a consistent flow of messages, it will do it more often, than the minute i have specified. If the flow of messages drops, then the runtime will begin to check less often, until it hits the one minute.</p>
  
  <p>Is this correctly understood? </p>
  
  <p>I have tried to find the code for this pooling mechanism in the webjob sdk: <a href="https://github.com/Azure/azure-webjobs-sdk" rel="noreferrer">https://github.com/Azure/azure-webjobs-sdk</a> and Azure Functions runtime: <a href="https://github.com/Azure/Azure-Functions" rel="noreferrer">https://github.com/Azure/Azure-Functions</a>, but I don't know what to look after (and I haven't spend that much time on it yet). </p>