the timeout screwed up large uploads
This commit is contained in:
1 parent
552c8a67ba
commit
5067d67477
2 files changed
+2
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user