Skip to content

Commit

Permalink
v0.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Apr 16, 2021
1 parent 217d15f commit aff8185
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 2 additions & 1 deletion copyparty/web/up2k.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand Down

0 comments on commit aff8185

Please sign in to comment.