mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
fetch retries from settings
This commit is contained in:
parent
f73ed9ef45
commit
1eb018bb47
@ -9,7 +9,7 @@ class ChunkedUpload {
|
|||||||
this.headers = params.headers || {}
|
this.headers = params.headers || {}
|
||||||
this.postParams = params.postParams
|
this.postParams = params.postParams
|
||||||
this.chunkSize = params.chunkSize || 1000000
|
this.chunkSize = params.chunkSize || 1000000
|
||||||
this.retries = params.retries || 5
|
this.retries = params.retries ?? app.cores.settings.get("uploader.retries") ?? 3
|
||||||
this.delayBeforeRetry = params.delayBeforeRetry || 5
|
this.delayBeforeRetry = params.delayBeforeRetry || 5
|
||||||
|
|
||||||
this.start = 0
|
this.start = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user