Added an 'independent' option for set identites that will put them under the
[distributedratelimiting.git] / drl / samplehold.h
index 6c992fd..7e51623 100644 (file)
 
 #define RANDOM_GRANULARITY (1000)
 
 
 #define RANDOM_GRANULARITY (1000)
 
-// FIXME: In reality, you probably don't want this higher than 5
-//#define SAMPLEHOLD_PERCENTAGE (5)
-#define SAMPLEHOLD_PERCENTAGE (10)
+/* For simple S&H testing. */
+//#define SAMPLEHOLD_PERCENTAGE (20)
+//#define SAMPLEHOLD_OVERFACTOR (5)
+
+#define SAMPLEHOLD_PERCENTAGE (5)
 #define SAMPLEHOLD_OVERFACTOR (10)
 #define SAMPLEHOLD_BONUS_FACTOR (1.05)
 
 #define SAMPLEHOLD_OVERFACTOR (10)
 #define SAMPLEHOLD_BONUS_FACTOR (1.05)