mirror of
https://github.com/9001/copyparty.git
synced 2026-03-27 18:42:58 +10:00
up2k: more runahead
This commit is contained in:
@@ -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 ==
|
||||
|
||||
Reference in New Issue
Block a user