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
Post a Comment