mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
ui: fix final time-elapsed and speed for fsearch
This commit is contained in:
parent
a6a2ee5b6b
commit
8a631f045e
|
@ -1556,9 +1556,11 @@ function up2k_init(subtle) {
|
||||||
if (nhash) {
|
if (nhash) {
|
||||||
st.time.hashing += td;
|
st.time.hashing += td;
|
||||||
t.push(['u2etah', st.bytes.hashed, st.bytes.hashed, st.time.hashing]);
|
t.push(['u2etah', st.bytes.hashed, st.bytes.hashed, st.time.hashing]);
|
||||||
if (uc.fsearch)
|
if (uc.fsearch) {
|
||||||
|
st.time.busy += td;
|
||||||
t.push(['u2etat', st.bytes.hashed, st.bytes.hashed, st.time.hashing]);
|
t.push(['u2etat', st.bytes.hashed, st.bytes.hashed, st.time.hashing]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var b_up = st.bytes.inflight + st.bytes.uploaded,
|
var b_up = st.bytes.inflight + st.bytes.uploaded,
|
||||||
b_fin = st.bytes.inflight + st.bytes.finished;
|
b_fin = st.bytes.inflight + st.bytes.finished;
|
||||||
|
|
Loading…
Reference in a new issue