Mercurial > hg > maltfilter
diff 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 |
line wrap: on
line diff
--- a/example.conf Sat Aug 29 06:12:04 2009 +0300 +++ b/example.conf Sun Aug 30 01:47:40 2009 +0300 @@ -199,7 +199,7 @@ DRONEBL_THRESHOLD = 5 ## Maximum age of hits counted towards DroneBL submission threshold. -## NOTICE! Value this is in minutes! +## NOTICE! Value this is in _minutes_! DRONEBL_MAX_AGE = 60 ## Your personal RPC key. This _MUST_ be set to a valid value, if you @@ -209,3 +209,14 @@ ## RPC2 submission URI, usually you do not need to change this. #DRONEBL_RPC_URI = "http://dronebl.org/RPC2" + +## Number of errors are tolerated in submission / HTTP connection +## before submissions are suspended? +#DRONEBL_MAX_ERRORS = 5 + +## Number of Maltfilter maintenance "rounds" to suspend submissions for. +## Currently maintenances happen approximately every 60 seconds. +## Thus value of 10 would mean suspending for about 10 minutes. +## (the times are not exact, because maintenances include operations +## which vary in duration.) +#DRONEBL_SUSPEND = 10