mirror of
https://github.com/9001/copyparty.git
synced 2026-11-21 20:06:36 +00:00
pause hashing as well when parallel uploads is 0
This commit is contained in:
1 parent
0850d24e0c
commit
4186906f4c
1 file changed
+3
@@ -993,6 +993,9 @@ function up2k_init(subtle) {
|
||||
}
|
||||
|
||||
function hashing_permitted() {
|
||||
if (!parallel_uploads)
|
||||
return false;
|
||||
|
||||
if (multitask) {
|
||||
var ahead = st.bytes.hashed - st.bytes.finished;
|
||||
return ahead < 1024 * 1024 * 1024 * 4 &&
|
||||
|
||||
Reference in new issue
Block a user