the timeout screwed up large uploads
This commit is contained in:
@@ -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