the timeout screwed up large uploads

This commit is contained in:
Fornax committed 2018-01-29 22:14:48 +01:00
1 parent 552c8a67ba
commit 5067d67477
2 files changed
+2 -2

No files matched your search

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