mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
pause hashing as well when parallel uploads is 0
This commit is contained in:
parent
0850d24e0c
commit
4186906f4c
|
@ -993,6 +993,9 @@ function up2k_init(subtle) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function hashing_permitted() {
|
function hashing_permitted() {
|
||||||
|
if (!parallel_uploads)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (multitask) {
|
if (multitask) {
|
||||||
var ahead = st.bytes.hashed - st.bytes.finished;
|
var ahead = st.bytes.hashed - st.bytes.finished;
|
||||||
return ahead < 1024 * 1024 * 1024 * 4 &&
|
return ahead < 1024 * 1024 * 1024 * 4 &&
|
||||||
|
|
Loading…
Reference in a new issue