From eb1bf1148ea296b72f066ba9f0a0bfdc6ea5b350 Mon Sep 17 00:00:00 2001 From: somebodywashere <68244480+somebodywashere@users.noreply.github.com> Date: Sat, 10 Jun 2023 09:19:07 +0000 Subject: [PATCH] reduced ip limit detection frequency to 30 sec (less logging, more precise) changed maxretry in fail2ban jail config to 2 to fit above --- web/job/check_client_ip_job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/job/check_client_ip_job.go b/web/job/check_client_ip_job.go index 67dddf43..163e3eba 100644 --- a/web/job/check_client_ip_job.go +++ b/web/job/check_client_ip_job.go @@ -105,7 +105,7 @@ func processLogFile() { checkError(err) } } - time.Sleep(10 * time.Second) + time.Sleep(30 * time.Second) } func GetAccessLogPath() string {