Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

incoming connection count/text fix improvement on http://mantis.tokeek.de/view.php?id=570

regerf6a55f927991
diff --git a/htroot/AccessTracker_p.html b/htroot/AccessTracker_p.html
index 7d9f2db86..75a59983b 100644
--- a/htroot/AccessTracker_p.html
+++ b/htroot/AccessTracker_p.html
@@ -47,7 +47,7 @@
</table>
::
<h2>Server Access Details</h2>
- <p>This is a list of requests to the local http server within the last hour.</p>
+ <p>This is a list of requests (max. 1000) to the local http server within the last hour.</p>
<p>Showing #[num]# requests.</p>
<table class="sortable" border="0">
<tr class="TableHeader">
diff --git a/htroot/AccessTracker_p.java b/htroot/AccessTracker_p.java
index a59840153..ec1bca418 100644
--- a/htroot/AccessTracker_p.java
+++ b/htroot/AccessTracker_p.java
@@ -123,7 +123,7 @@ public class AccessTracker_p {
host = i.next();
access = serverAccessTracker.accessTrack(host);
final Iterator<Track> ii = listclone(access).iterator();
- while (ii.hasNext()) {
+ while (ii.hasNext() && entCount < maxCount) {
entry = ii.next();
prop.putHTML("page_list_" + entCount + "_host", host);
prop.put("page_list_" + entCount + "_date", GenericFormatter.SIMPLE_FORMATTER.format(new Date(entry.getTime())));
diff --git a/locales/de.lng b/locales/de.lng
index 89e4bfa73..c7e0cec9d 100644
--- a/locales/de.lng
+++ b/locales/de.lng
@@ -42,7 +42,7 @@ This images shows incoming connections to your YaCy peer and outgoing connection
Access Tracker==Zugriffe
Server Access Overview==Server Zugriff Überblick
This is a list of \#\[num\]\# requests to the local http server within the last hour.==Dies ist eine Liste von #[num]# Anfragen, die an den lokalen HTTP Server innerhalb der letzten Stunde gestellt wurden.
-This is a list of requests to the local http server within the last hour.==Dies ist eine Liste von Anfragen, die innerhalb der letzten Stunde an den lokalen HTTP Server gestellt wurden.
+This is a list of requests \(max. 1000\) to the local http server within the last hour.==Dies ist eine Liste von Anfragen (max. 1000), die innerhalb der letzten Stunde an den lokalen HTTP Server gestellt wurden.
Showing \#\[num\]\# requests.==Gezeigt werden #[num]# Anfragen.
#>Host<==>Host<
>Path<==>Pfad<