From 223b3487c38a2390ad936943266a44da9cbb810a Mon Sep 17 00:00:00 2001 From: jazzzooo <38244149+jazzzooo@users.noreply.github.com> Date: Fri, 15 Sep 2023 00:53:03 -0700 Subject: [fix] spelling --- searx/redislib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/redislib.py') diff --git a/searx/redislib.py b/searx/redislib.py index a90e15bc2..d65212b8c 100644 --- a/searx/redislib.py +++ b/searx/redislib.py @@ -77,7 +77,7 @@ def secret_hash(name: str): """Creates a hash of the ``name``. Combines argument ``name`` with the ``secret_key`` from :ref:`settings - server`. This function can be used to get a more anonymised name of a Redis + server`. This function can be used to get a more anonymized name of a Redis KEY. :param name: the name to create a secret hash for @@ -205,7 +205,7 @@ def incr_sliding_window(client, name: str, duration: int): minus *duration* time (ZREMRANGEBYSCORE_). The EXPIRE_ time (the duration of the sliding window) is refreshed on each - call (incrementation) and if there is no call in this duration, the sorted + call (increment) and if there is no call in this duration, the sorted set expires from the redis DB. The return value is the amount of items in the sorted set (ZCOUNT_), what -- cgit v1.2.3