mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1568353 - set the default rest.js timeout to be 5 minutes. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D40927 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
12640bca82
commit
05df0254b8
@ -162,9 +162,10 @@ RESTRequest.prototype = {
|
||||
* Request timeout (in seconds, though decimal values can be used for
|
||||
* up to millisecond granularity.)
|
||||
*
|
||||
* 0 for no timeout.
|
||||
* 0 for no timeout. Default is 300 seconds (5 minutes), the same as Sync uses
|
||||
* in resource.js.
|
||||
*/
|
||||
timeout: null,
|
||||
timeout: 300,
|
||||
|
||||
/**
|
||||
* The encoding with which the response to this request must be treated.
|
||||
|
Loading…
Reference in New Issue
Block a user