Check violation vs. the less strict limit.

This commit is contained in:
asofold 2014-07-18 02:33:13 +02:00
parent 4ee4e6f08d
commit 58a7c15966

View File

@ -97,7 +97,7 @@ public class MorePackets extends Check {
}
final double violation = (double) fullCount - (double) (burnScore * data.morePacketsFreq.numberOfBuckets());
final double violation = (double) fullCount - (double) (maxPackets * data.morePacketsFreq.numberOfBuckets() * data.morePacketsFreq.bucketDuration() / 1000f);
// TODO: Burn time windows based on other activity counting [e.g. same resolution ActinFrequency with keep-alive].