SP.ClientContext.requestTimeout property (sp.js)
Gets or sets the request timeout in milliseconds
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ClientContext.get_requestTimeout()
SP.ClientContext.set_requestTimeout(value)
Return value
int
The request timeout in milliseconds.
Remarks
When setting this property, the value must be greater than or equal to 0. 0 = no timeout.