Logo
Explore Help
Sign In
djoka/searxng
1
0
Fork 0
You've already forked searxng
Code Issues Pull Requests Actions 3 Packages Projects Releases Wiki Activity
Files
2dc5c0e1d61ea2d86f14af2cb6e1edfc4bfea20d
searxng/searx/shared/__init__.py

7 lines
128 B
Python
Raw Normal View History

[enh] add searx.shared shared dictionary between the workers (UWSGI or werkzeug) scheduler: run a task once every x seconds (UWSGI or werkzeug)
2021-01-05 11:22:48 +01:00
# SPDX-License-Identifier: AGPL-3.0-or-later
The checker requires Redis Remove the abstraction in searx.shared.SharedDict. Implement a basic and dedicated scheduler for the checker using a Redis script.
2022-07-15 18:38:32 +02:00
# lint: pylint
"""Initialization of a *shared* storage.
"""
[enh] add searx.shared shared dictionary between the workers (UWSGI or werkzeug) scheduler: run a task once every x seconds (UWSGI or werkzeug)
2021-01-05 11:22:48 +01:00
The checker requires Redis Remove the abstraction in searx.shared.SharedDict. Implement a basic and dedicated scheduler for the checker using a Redis script.
2022-07-15 18:38:32 +02:00
from . import redisdb
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 88ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API