stop counting eta when we don't hold the flag

This commit is contained in:
ed 2021-08-26 22:51:07 +02:00
parent 21e2874cb7
commit 8b05ba4ba1

View file

@ -918,7 +918,7 @@ function up2k_init(subtle) {
if (!st.busy.hash.length && !hashing_permitted())
nhash = 0;
if (!parallel_uploads || !(nhash + nsend))
if (!parallel_uploads || !(nhash + nsend) || (flag && flag.owner && !flag.ours))
return;
var t = [];