pause hashing as well when parallel uploads is 0

This commit is contained in:
ed 2021-08-26 20:43:27 +02:00
parent 0850d24e0c
commit 4186906f4c

View file

@ -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 &&