mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
v0.10.9
This commit is contained in:
parent
217d15fe81
commit
aff8185f2e
|
@ -1,8 +1,8 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
|
||||||
VERSION = (0, 10, 8)
|
VERSION = (0, 10, 9)
|
||||||
CODENAME = "zip it"
|
CODENAME = "zip it"
|
||||||
BUILD_DT = (2021, 4, 11)
|
BUILD_DT = (2021, 4, 17)
|
||||||
|
|
||||||
S_VERSION = ".".join(map(str, VERSION))
|
S_VERSION = ".".join(map(str, VERSION))
|
||||||
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)
|
||||||
|
|
|
@ -737,7 +737,8 @@ function up2k_init(have_crypto) {
|
||||||
function hashing_permitted() {
|
function hashing_permitted() {
|
||||||
if (multitask) {
|
if (multitask) {
|
||||||
var ahead = st.bytes.hashed - st.bytes.uploaded;
|
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 ==
|
return handshakes_permitted() && 0 ==
|
||||||
st.todo.handshake.length +
|
st.todo.handshake.length +
|
||||||
|
|
Loading…
Reference in a new issue