the timeout screwed up large uploads

This commit is contained in:
2018-01-29 22:14:48 +01:00
parent 552c8a67ba
commit 5067d67477
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ var UploadWorker = /** @class */ (function () {
type: 'POST', type: 'POST',
url: "/api/file", url: "/api/file",
data: formData, data: formData,
timeout: 300000, timeout: 7200000,
cache: false, cache: false,
async: true, async: true,
crossDomain: false, crossDomain: false,

View File

@@ -75,7 +75,7 @@ class UploadWorker {
type: 'POST', type: 'POST',
url: "/api/file", url: "/api/file",
data: formData, data: formData,
timeout: 300000, // 5 minutes timeout: 7200000, // 2 hours
cache: false, cache: false,
async: true, async: true,
crossDomain: false, crossDomain: false,