.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.favicons.cache.FaviconCacheConfig Class Reference
+ Inheritance diagram for searx.favicons.cache.FaviconCacheConfig:
+ Collaboration diagram for searx.favicons.cache.FaviconCacheConfig:

Static Public Attributes

Literal db_type = "sqlite"
 
str db_url = tempfile.gettempdir() + os.sep + "faviconcache.db"
 
int HOLD_TIME = 60 * 60 * 24 * 30
 
int LIMIT_TOTAL_BYTES = 1024 * 1024 * 50
 
int BLOB_MAX_BYTES = 1024 * 20
 
int MAINTENANCE_PERIOD = 60 * 60
 
Literal MAINTENANCE_MODE = "auto"
 

Detailed Description

Configuration of the favicon cache.

Definition at line 93 of file cache.py.

Member Data Documentation

◆ BLOB_MAX_BYTES

int searx.favicons.cache.FaviconCacheConfig.BLOB_MAX_BYTES = 1024 * 20
static

Definition at line 119 of file cache.py.

◆ db_type

Literal searx.favicons.cache.FaviconCacheConfig.db_type = "sqlite"
static

Definition at line 96 of file cache.py.

◆ db_url

str searx.favicons.cache.FaviconCacheConfig.db_url = tempfile.gettempdir() + os.sep + "faviconcache.db"
static

◆ HOLD_TIME

int searx.favicons.cache.FaviconCacheConfig.HOLD_TIME = 60 * 60 * 24 * 30
static

Definition at line 109 of file cache.py.

◆ LIMIT_TOTAL_BYTES

int searx.favicons.cache.FaviconCacheConfig.LIMIT_TOTAL_BYTES = 1024 * 1024 * 50
static

Definition at line 112 of file cache.py.

◆ MAINTENANCE_MODE

Literal searx.favicons.cache.FaviconCacheConfig.MAINTENANCE_MODE = "auto"
static

Definition at line 128 of file cache.py.

◆ MAINTENANCE_PERIOD

int searx.favicons.cache.FaviconCacheConfig.MAINTENANCE_PERIOD = 60 * 60
static

Definition at line 124 of file cache.py.


The documentation for this class was generated from the following file: