Azure / azure-functions-signalrservice-extension

Azure Functions bindings for SignalR Service. Project moved to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService .
MIT License
97 stars 48 forks source link

Ability to set HTTP timeout cap for SignalR client in Azure Functions #282

Open bm77525-kr opened 2 years ago

bm77525-kr commented 2 years ago

We are using the SignalR extension to output messages via the signalR binding in a NodeJS function to multiple user ID's. Occasionally, there are transient errors when the SignalR extension is sending messages via POST requests (i.e. POST /api/v1/hubs/<hub name>/users/<username>. The real issue we have with this is the requests can hang up to 1.3 minutes before giving up and throwing an exception. These messages are time sensitive so ideally we would like to cap that timeout to something much lower which, while not preventing an exception, would at least allow us to retry the function execution in a more timely manner.