From 779437db673861c90b720110bc144ca0f3a37361 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 19 Apr 2021 21:58:30 +0200 Subject: [PATCH] up2k: more runahead --- copyparty/web/up2k.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index ae357732..3f453533 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -740,7 +740,7 @@ function up2k_init(have_crypto) { function hashing_permitted() { if (multitask) { var ahead = st.bytes.hashed - st.bytes.uploaded; - return ahead < 1024 * 1024 * 128 && + return ahead < 1024 * 1024 * 1024 * 4 && st.todo.handshake.length + st.busy.handshake.length < 16; } return handshakes_permitted() && 0 ==