Laser queue scan frequency azure webjobs

Azure webjobs, called when new messages arrive on input queues (on cumulative or Service Bus). Is it possible to control the frequency of scanning queues?

+3


source to share


1 answer


You can use the MaxPollingInterval parameter:

Gets or sets the longest time period to wait before checking for a message when the queue is empty.

You can install this here:



JobHostConfiguration configuration = new JobHostConfiguration();
configuration.Queues.MaxPollingInterval = TimeSpan.FromSeconds(30);

      

Note that this interval is only used to validate form messages when the queue is empty .

+2


source







All Articles