lower schedule time

This commit is contained in:
Hossin Asaadi
2022-11-05 14:37:49 -04:00
parent 253f5dcfab
commit 3f0307054a

View File

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