mirror of
https://github.com/searxng/searxng.git
synced 2025-09-01 07:48:32 +02:00
Merge pull request #1954 from dalf/fix.redis.init.2
[fix] follow up of PR-1856
This commit is contained in:
commit
9e9f57e48b
14 changed files with 30 additions and 25 deletions
|
@ -16,7 +16,7 @@ Enable the plugin in ``settings.yml``:
|
|||
import re
|
||||
from flask import request
|
||||
|
||||
from searx.shared import redisdb
|
||||
from searx import redisdb
|
||||
from searx.redislib import incr_sliding_window
|
||||
|
||||
name = "Request limiter"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue