Skip to content

Commit 7164256

Browse files
DanieLDanieL
authored andcommitted
Improve DDOS handle
1 parent e9db5a4 commit 7164256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/stopDDOSAtackIps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function tailShell($filepath, $lines = 1) {
1414
$mySQLIsStopped = 0;
1515
while (1) {
1616

17-
$lines = tailShell($apacheAccessLogFile, 1000);
17+
$lines = tailShell($apacheAccessLogFile, 500);
1818
//file_put_contents($apacheAccessLogFile,'');
1919

2020
foreach ($lines as $line) {

0 commit comments

Comments
 (0)