We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086357c commit db30bdbCopy full SHA for db30bdb
src/Jobs/ProcessLogWithIpInfo.php
@@ -48,7 +48,7 @@ public function handle()
48
$user_agent = $this->user_agent;
49
$ip = $this->ip;
50
$key_access_count = "block_bot:{$ip}";
51
- $number_of_requests = Redis::exists($key_access_count);
+ $number_of_requests = Redis::get($key_access_count);
52
53
$host = strtolower(gethostbyaddr($ip));
54
$messsage = "[Block-Bots] IP: {$ip}; After {$number_of_requests} requests , Host:{$host} \n with User agent: {$user_agent}; was {$this->action}";
0 commit comments