mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
fix upload eta going bad after inactivity
This commit is contained in:
parent
231a03bcfd
commit
5955940b82
|
@ -912,6 +912,9 @@ function up2k_init(subtle) {
|
||||||
td = (now - (etaref || now)) / 1000.0;
|
td = (now - (etaref || now)) / 1000.0;
|
||||||
|
|
||||||
etaref = now;
|
etaref = now;
|
||||||
|
if (td > 1.2)
|
||||||
|
td = 0.05;
|
||||||
|
|
||||||
//ebi('acc_info').innerHTML = humantime(st.time.busy) + ' ' + f2f(now / 1000, 1);
|
//ebi('acc_info').innerHTML = humantime(st.time.busy) + ' ' + f2f(now / 1000, 1);
|
||||||
|
|
||||||
if (!nhash)
|
if (!nhash)
|
||||||
|
|
Loading…
Reference in a new issue