Increase web request timeout, drop failed delivery receipts (#1699)

Increase web request timeout, drop failed delivery receipts, export error logging
This commit is contained in:
Scott Nonnenberg
2017-11-07 10:49:10 -08:00
committed by GitHub
parent 845291c51e
commit cae2b10af6
4 changed files with 5 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ var TextSecureServer = (function() {
url = options.host + '/' + options.path;
}
console.log(options.type, url);
var timeout = typeof options.timeout !== 'undefined' ? options.timeout : 5000;
var timeout = typeof options.timeout !== 'undefined' ? options.timeout : 10000;
var fetchOptions = {
method: options.type,