Scooletz / QueueBatch

WebJobs/Azure Functions trigger providing batches of Azure Storage Queues messages directly to your function
Apache License 2.0
41 stars 4 forks source link

maxPollingInterval on host.json doesn't seem to take effect anymore #13

Closed jeremy001181 closed 5 years ago

jeremy001181 commented 5 years ago

I would like to make my function to poll the target queue every 100ms, so to achieve that I used to use maxPollingInterval settings and set it to 00:00:00.100, with QueueBatch installed, this doesn't seem to work anymore. any idea?

Thanks

Scooletz commented 5 years ago

Unfortunately, the only way to configure QueueBatch for now is the attribute. The pooling interval, etc. is configured in the BindingProvider.

If you'd like to have it, it would require a PR with some tests for passing the configuration in both ways.

jeremy001181 commented 5 years ago

Tried with the attribute approach, works like a charm, happy to close