mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
add option --s-rd-sz
(socket read size):
counterpart of `--s-wr-sz` which existed already the default (256 KiB) appears optimal in the most popular scenario (linux host with storage on local physical disk, usually NVMe) was previously 32 KiB, so large uploads should now use 17% less CPU also adds sanchecks for values of `--iobuf`, `--s-rd-sz`, `--s-wr-sz` also adds file-overwrite feature for multipart posts
This commit is contained in:
parent
2b24c50eb7
commit
c6acd3a904
8 changed files with 155 additions and 14 deletions
|
@ -155,7 +155,8 @@ class Cfg(Namespace):
|
|||
mth={},
|
||||
mtp=[],
|
||||
rm_retry="0/0",
|
||||
s_wr_sz=512 * 1024,
|
||||
s_rd_sz=256 * 1024,
|
||||
s_wr_sz=256 * 1024,
|
||||
sort="href",
|
||||
srch_hits=99999,
|
||||
th_crop="y",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue