aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 805a2c3..47d6de7 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -11,6 +11,9 @@ pub struct Config {
/// Flag indicating whether logs with an unknown boss should be uploaded.
#[serde(default)]
pub upload_unknown: bool,
+ /// Minimum log duration in milliseconds for uploads.
+ #[serde(default)]
+ pub minimum_duration: u64,
/// How often the upload to dps.report should be retried.
#[serde(default)]
pub retries: u32,