fix: banner did not show link and qph for portal mode

pull/1/head
Michael Peter Christen 10 years ago
parent 9bf0d7ecb9
commit 5789c96292

@ -85,11 +85,11 @@ public class Banner {
final Seed seed = sb.peers.mySeed();
if (seed != null) {
name = seed.get(Seed.NAME, "-").toUpperCase();
links = seed.getLinkCount();
links = sb.index.fulltext().collectionSize();
words = seed.getWordCount();
myppm = seed.getPPM();
myqph = 60d * seed.getQPM();
myppm = Switchboard.currentPPM();
myqph = 60d * sb.averageQPM();
if (sb.peers.mySeed().isVirgin()) {
type = "VIRGIN";
nqph = Math.round(6000d * nqpm) / 100d;

Loading…
Cancel
Save