Mercurial > hg > maltfilter
comparison example.conf @ 83:532169789f52 maltfilter-0.19.0
Add automatic temporary suspension of DroneBL submissions if enough HTTP
connection or other errors occur (thresholds and suspension time can be set
in configuration file.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 30 Aug 2009 01:47:40 +0300 |
parents | b090ddfccdab |
children | d8d8cd36e201 |
comparison
equal
deleted
inserted
replaced
82:0c9d8dc3f70c | 83:532169789f52 |
---|---|
197 ## This setting is independent of the general THRESHOLD value and | 197 ## This setting is independent of the general THRESHOLD value and |
198 ## only affects DroneBL submissions. | 198 ## only affects DroneBL submissions. |
199 DRONEBL_THRESHOLD = 5 | 199 DRONEBL_THRESHOLD = 5 |
200 | 200 |
201 ## Maximum age of hits counted towards DroneBL submission threshold. | 201 ## Maximum age of hits counted towards DroneBL submission threshold. |
202 ## NOTICE! Value this is in minutes! | 202 ## NOTICE! Value this is in _minutes_! |
203 DRONEBL_MAX_AGE = 60 | 203 DRONEBL_MAX_AGE = 60 |
204 | 204 |
205 ## Your personal RPC key. This _MUST_ be set to a valid value, if you | 205 ## Your personal RPC key. This _MUST_ be set to a valid value, if you |
206 ## have enabled submissions. To get a personal key, go to: | 206 ## have enabled submissions. To get a personal key, go to: |
207 ## http://www.dronebl.org/rpckey_signup | 207 ## http://www.dronebl.org/rpckey_signup |
208 DRONEBL_RPC_KEY = "" | 208 DRONEBL_RPC_KEY = "" |
209 | 209 |
210 ## RPC2 submission URI, usually you do not need to change this. | 210 ## RPC2 submission URI, usually you do not need to change this. |
211 #DRONEBL_RPC_URI = "http://dronebl.org/RPC2" | 211 #DRONEBL_RPC_URI = "http://dronebl.org/RPC2" |
212 | |
213 ## Number of errors are tolerated in submission / HTTP connection | |
214 ## before submissions are suspended? | |
215 #DRONEBL_MAX_ERRORS = 5 | |
216 | |
217 ## Number of Maltfilter maintenance "rounds" to suspend submissions for. | |
218 ## Currently maintenances happen approximately every 60 seconds. | |
219 ## Thus value of 10 would mean suspending for about 10 minutes. | |
220 ## (the times are not exact, because maintenances include operations | |
221 ## which vary in duration.) | |
222 #DRONEBL_SUSPEND = 10 |