mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
stop counting eta when we don't hold the flag
This commit is contained in:
parent
21e2874cb7
commit
8b05ba4ba1
|
@ -918,7 +918,7 @@ function up2k_init(subtle) {
|
||||||
if (!st.busy.hash.length && !hashing_permitted())
|
if (!st.busy.hash.length && !hashing_permitted())
|
||||||
nhash = 0;
|
nhash = 0;
|
||||||
|
|
||||||
if (!parallel_uploads || !(nhash + nsend))
|
if (!parallel_uploads || !(nhash + nsend) || (flag && flag.owner && !flag.ours))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var t = [];
|
var t = [];
|
||||||
|
|
Loading…
Reference in a new issue