mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
fetch retries from settings
This commit is contained in:
parent
1b260eb50e
commit
02888329cc
@ -9,7 +9,7 @@ class ChunkedUpload {
|
||||
this.headers = params.headers || {}
|
||||
this.postParams = params.postParams
|
||||
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.start = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user