-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix general section #4439
fix general section #4439
Conversation
I have one open question with regards to this code/documentation, see the issue: People report that setting Now that makes no sense, as the docs say that that IS the default. Looking at the code, it does something that - well, it's no surprise I don't understand it, but pls double check if that indeed leads to 6000 please ;-)
|
The default according to the log files is 60000 (1 minute).
|
Good catch, updated! |
Kudos, SonarCloud Quality Gate passed! |
/backport to stable-3.5 |
@jospoortvliet please remove the merge commits. |
DCO is failing, please sign-off the commits :) |
@jospoortvliet Ping? :) |
- Fix table that was missing - Updates targetChunkUploadDuration and maxChunkSize. - Adds section about Cloudflare. Signed-off-by: Jos Poortvliet <[email protected]>
b7c35ca
to
71dbd11
Compare
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #4439 +/- ##
==========================================
- Coverage 56.42% 56.42% -0.01%
==========================================
Files 138 138
Lines 17071 17071
==========================================
- Hits 9633 9632 -1
- Misses 7438 7439 +1
|
AppImage file: Nextcloud-PR-4439-71dbd1103f96ea909e79e8c2d4f87331b248d73a-x86_64.AppImage |
This PR fixes 3 things in the documentation of the config file.
targetChunkUploadDuration
value for chunking that was described to be defaulting to 6000 (10 seconds) instead of the reality, which is 60000 (1 minute)Ideally, the chunking algorithm considers a closed connection as similar to a connection exceeding its
targetChunkUploadDuration
, decreasing the chunk size again and therefor still succeeding in uploading a file. This can probably be fixed relatively easy, and beats a documentation change, but I can only change documentation, not code.So with this PR we now explain how people can manually lower the chunk size, which can be helpful in other situations too.
See #4278 (comment)
Signed-off-by: jos poortvliet [email protected]