node.js - How to configure timeout for nodejs on Heroku -


how configure timeout nodejs on heroku. heroku timesout @ 30seconds. timeout @ 25th second. how configure ?

at moment there method directly on request object:

request.settimeout(timeout, [callback]); 

this shortcut method binds socket event , creates timeout.

reference: node.js timers manual & documentation


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -