From 30553c6a9ab1ebe25335aceb456ae8669bcd393f Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 31 Aug 2018 18:21:07 +0300 Subject: [PATCH] Show 50 top blocked/requestsed/clients instead of 3. Closes #312 --- control.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/control.go b/control.go index ceb3bb90..48e71bf9 100644 --- a/control.go +++ b/control.go @@ -429,9 +429,9 @@ func handleStatsTop(w http.ResponseWriter, r *http.Request) { } toMarshal := map[string]interface{}{ - "top_queried_domains": produceTop(domains, 3), - "top_blocked_domains": produceTop(blocked, 3), - "top_clients": produceTop(clients, 3), + "top_queried_domains": produceTop(domains, 50), + "top_blocked_domains": produceTop(blocked, 50), + "top_clients": produceTop(clients, 50), } json, err := json.Marshal(toMarshal) if err != nil {