Azure / azure-functions-nodejs-worker

The Node.js worker for the Azure Functions runtime - https://functions.azure.com
MIT License
107 stars 44 forks source link

Increase timeouts for worker gRPC respones #705

Closed hossam-nasr closed 1 year ago

hossam-nasr commented 1 year ago

Resolves #704

To verify, added the below code in a startup file:

const timeout = Date.now() + 11 * 1000;

while (Date.now() < timeout) {}

Before change:

image

After change:

image