Reputation: 1
I am working with Azure Function 2.0, Python 3.7 Runtime and Azure Function Tools 2.0.
Sometime the action of scrapin an url takes long time and I have found this bad behavior.
Questions: - How can i specify that a blob con trigger only one function execution? I would like to rewrite an external check. - Do you have suggestion to limit timeouts for requests in a python function? I have tried the standard timeout and eventlet.Timout without success.
Thanks Ra
Upvotes: 0
Views: 605
Reputation: 5238
BlobTrigger will run for all blobs that dont have a reciept. There are an issue on github regarding this topic but regarding timestamps on a blob and not quite what you are after.
https://github.com/Azure/azure-webjobs-sdk/issues/1327
Regarding timeouts in function this is by design. You could check out durable functions.
Upvotes: 1