req.setTimeout()Time out this request if a response is not sent within the specified number of milliseconds.
req.setTimeout(numMilliseconds);
To cause requests to a particular action to time out after 4 minutes:
req.setTimeout(240000);
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.