on master help sign in
[mod] checker: disable by default
73c86f9Alexandre Flament
searx/settings.yml+9−3
@@ -105,11 +105,17 @@ outgoing: # communication with search engines
105checker:
105checker:
106 # disable checker when in debug mode
106 # disable checker when in debug mode
107 off_when_debug: True
107 off_when_debug: True
108+
108 # scheduling: interval or int
109 # scheduling: interval or int
109 # use "scheduling: False" to disable scheduling
110 # use "scheduling: False" to disable scheduling
111+ # to activate the scheduler:
112+ # * uncomment "scheduling" section
113+ # * add "cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1" to your uwsgi.ini
114+
110− scheduling:
115+ # scheduling:
111− start_after: [300, 1800] # delay to start the first run of the checker
116+ # start_after: [300, 1800] # delay to start the first run of the checker
112− every: [86400, 90000] # how often the checker runs
117+ # every: [86400, 90000] # how often the checker runs
118+
113 # additional tests: only for the YAML anchors (see the engines section)
119 # additional tests: only for the YAML anchors (see the engines section)
114 additional_tests:
120 additional_tests:
115 rosebud: &test_rosebud
121 rosebud: &test_rosebud