From b1f0313b37655be04bd22a4716165204b8b4bad2 Mon Sep 17 00:00:00 2001 From: alex-phillips Date: Mon, 26 Nov 2018 08:09:03 -0500 Subject: [PATCH] updated default config with production release sample --- root/defaults/diskover.cfg | 39 +++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/root/defaults/diskover.cfg b/root/defaults/diskover.cfg index 93006733..a8c77f28 100644 --- a/root/defaults/diskover.cfg +++ b/root/defaults/diskover.cfg @@ -52,6 +52,8 @@ indexrefresh = 30s disablereplicas = True ; transaction log flush threshold size (default 512mb) translogsize = 1gb +; search scroll size (default 100 docs) +scrollsize = 1000 [redis] host = {{REDIS_HOST}} @@ -63,10 +65,16 @@ port = {{REDIS_PORT}} cachedirtimes = False ; how long in seconds directory keys lives in Redis (default 1 day) dirtimesttl = 604800 - -[treethreads] -; number of threads to use for tree walking down directories in rootdir (cores x 2 might be a good start) -threads = 8 +; database to use (default is 0) +db = 0 +; rq job default time out in sec (default 180) +timeout = 3600 +; rq default ttl for key/results (default 500) +ttl = 500 +; rq queue names to use (default is diskover, diskover_crawl, diskover_calcdir) +queue = diskover +queuecrawl = diskover_crawl +queuecalcdir = diskover_calcdir [adaptivebatch] ; adaptive batch settings when using -a (intelligent crawling) @@ -74,20 +82,13 @@ threads = 8 startsize = 50 ; maximum size of batch maxsize = 500 -; when adjusting batch size use this for +/- (increase when queues is > 0, decrease when 0) +; when adjusting batch size use this for +/- (increases when queue is 0, decreases when > 0) stepsize = 10 -[workerbot] -; enable bot logs (True or False), bot logs will slow down crawl, use for debugging only -botlogs = False -; log file directory to store worker logs -; log files are named diskover_bot_worker__