mirror of https://github.com/searxng/searxng.git
[mod] warn to info for failed ping limiter
This commit is contained in:
parent
26fed56d51
commit
0330648b98
|
@ -83,7 +83,7 @@ def is_suspicious(network: IPv4Network | IPv6Network, request: flask.Request, re
|
||||||
|
|
||||||
ping_key = get_ping_key(network, request)
|
ping_key = get_ping_key(network, request)
|
||||||
if not redis_client.get(ping_key):
|
if not redis_client.get(ping_key):
|
||||||
logger.warning("missing ping (IP: %s) / request: %s", network.compressed, ping_key)
|
logger.info("missing ping (IP: %s) / request: %s", network.compressed, ping_key)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if renew:
|
if renew:
|
||||||
|
|
Loading…
Reference in New Issue