From 5955940b82adddb7149125a60463aba22f1c8c31 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 4 Sep 2021 03:10:54 +0200 Subject: [PATCH] fix upload eta going bad after inactivity --- copyparty/web/up2k.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 934e4164..fbe09cc1 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -912,6 +912,9 @@ function up2k_init(subtle) { td = (now - (etaref || now)) / 1000.0; etaref = now; + if (td > 1.2) + td = 0.05; + //ebi('acc_info').innerHTML = humantime(st.time.busy) + ' ' + f2f(now / 1000, 1); if (!nhash)