This commit is contained in:
ed 2021-04-17 01:29:27 +02:00
parent 217d15fe81
commit aff8185f2e
2 changed files with 4 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (0, 10, 8)
VERSION = (0, 10, 9)
CODENAME = "zip it"
BUILD_DT = (2021, 4, 11)
BUILD_DT = (2021, 4, 17)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -737,7 +737,8 @@ 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 * 128 &&
st.todo.handshake.length + st.busy.handshake.length < 16;
}
return handshakes_permitted() && 0 ==
st.todo.handshake.length +