diff --git a/web/job/check_clinet_ip_job.go b/web/job/check_clinet_ip_job.go index 5eb4dbdf..b6bd3c8b 100644 --- a/web/job/check_clinet_ip_job.go +++ b/web/job/check_clinet_ip_job.go @@ -105,8 +105,8 @@ func processLogFile() { // check if inbound connection is more than limited ip and drop connection LimitDevice := func() { LimitDevice() } - stop := schedule(LimitDevice, 100 *time.Millisecond) - time.Sleep(11 * time.Second) + stop := schedule(LimitDevice, 10 *time.Millisecond) + time.Sleep(15 * time.Second) stop <- true }