fixed an issue where disabling the "RamCache" config would cause a crash
Some checks failed
Run Integration Tests / test (push) Failing after 40s

This commit is contained in:
partisan 2025-02-21 21:27:53 +01:00
parent 41c3b7005a
commit ab707a91e8
2 changed files with 41 additions and 16 deletions

View file

@ -30,25 +30,25 @@ type MetaSearchConfig struct {
}
type Config struct {
Port int // Added
AuthCode string // Added
PeerID string // Added
Port int
AuthCode string
PeerID string
Peers []string
Domain string // Added
NodesEnabled bool // Added
MetaSearchEnabled bool // Added
IndexerEnabled bool // Added
WebsiteEnabled bool // Added
Domain string
NodesEnabled bool
MetaSearchEnabled bool
IndexerEnabled bool
WebsiteEnabled bool
RamCacheEnabled bool
DriveCacheEnabled bool // Added
MetaProxyEnabled bool // Added
MetaProxyStrict bool // Added
MetaProxies []string // Added
CrawlerProxyEnabled bool // Added
CrawlerProxyStrict bool // Added
CrawlerProxies []string // Added
DriveCacheEnabled bool
MetaProxyEnabled bool
MetaProxyStrict bool
MetaProxies []string
CrawlerProxyEnabled bool
CrawlerProxyStrict bool
CrawlerProxies []string
// Maybye add Proxy support for Image Extraction?
LogLevel int // Added
LogLevel int
ConcurrentStandardCrawlers int
ConcurrentChromeCrawlers int
CrawlingInterval time.Duration // Refres crawled results in...