cave/trend_tag: penalize properly
This commit is contained in:
parent
adedb40105
commit
6b9ef41bde
|
@ -85,7 +85,7 @@ impl TrendTag {
|
|||
pub fn score(&self, period: u64, until: u64) -> f64 {
|
||||
// ignore spam that comes from only 1 instance
|
||||
if self.hosts().skip(1).next().is_none() {
|
||||
return -1000.;
|
||||
return -1.;
|
||||
}
|
||||
|
||||
let from = until - period;
|
||||
|
|
Loading…
Reference in New Issue
Block a user