From ec56af480acd65dbb05ca370645f20812e996962 Mon Sep 17 00:00:00 2001 From: Hossin Asaadi Date: Sat, 5 Nov 2022 16:13:58 -0400 Subject: [PATCH] revert schedule time --- web/job/check_clinet_ip_job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/job/check_clinet_ip_job.go b/web/job/check_clinet_ip_job.go index b6bd3c8b..362587d6 100644 --- a/web/job/check_clinet_ip_job.go +++ b/web/job/check_clinet_ip_job.go @@ -105,7 +105,7 @@ func processLogFile() { // check if inbound connection is more than limited ip and drop connection LimitDevice := func() { LimitDevice() } - stop := schedule(LimitDevice, 10 *time.Millisecond) + stop := schedule(LimitDevice, 100 *time.Millisecond) time.Sleep(15 * time.Second) stop <- true