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 @@ ::

Server Access Details

-

This is a list of requests to the local http server within the last hour.

+

This is a list of requests (max. 1000) to the local http server within the last hour.

Showing #[num]# requests.

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 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/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.html index 7fa73b3bc..adae22151 100644 --- a/htroot/yacysearchtrailer.html +++ b/htroot/yacysearchtrailer.html @@ -146,10 +146,10 @@ show search results for "#[query]#" on map