From 8a631f045eb2680e63b0224d7bccb13dccd997cf Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 3 Dec 2024 21:43:38 +0000 Subject: [PATCH] ui: fix final time-elapsed and speed for fsearch --- copyparty/web/up2k.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 95b929ff..1f25ab9f 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1556,8 +1556,10 @@ function up2k_init(subtle) { if (nhash) { st.time.hashing += td; 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]); + } } var b_up = st.bytes.inflight + st.bytes.uploaded,