aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 67721b4..5fdcfe8 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -14,6 +14,7 @@ pub struct Config {
pub mid_weight: f32,
pub high_weight: f32,
pub max_weight: f32,
+ pub lookback_window_halflife_in_entries: u16,
}
fn default_config_path() -> String {
@@ -65,6 +66,7 @@ impl Default for Config {
mid_weight: 0.5,
high_weight: 0.75,
max_weight: 1.0,
+ lookback_window_halflife_in_entries: 128,
}
}
}