fixed an issue where disabling the "RamCache" config would cause a crash
Some checks failed
Run Integration Tests / test (push) Failing after 40s
Some checks failed
Run Integration Tests / test (push) Failing after 40s
This commit is contained in:
parent
41c3b7005a
commit
ab707a91e8
2 changed files with 41 additions and 16 deletions
32
config.go
32
config.go
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue