diff --git a/README.md b/README.md index 9dc89bc..58812ad 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Matches are case sensitive regular expressions between implicit ^ and $: - `.*` matches any number of any characters - `.+` matches 1 or more any characters. - `word` is an exact match. -- Use escapes `\` to match special characters, e.g. `org\.kde\.Dolpin` +- Use escapes `\` to match special characters, e.g. `org\.kde\.Dolphin` #### Captures diff --git a/watchers/src/report_client.rs b/watchers/src/report_client.rs index 85c12de..4016695 100644 --- a/watchers/src/report_client.rs +++ b/watchers/src/report_client.rs @@ -95,7 +95,7 @@ impl ReportClient { return Ok(()); } - let interval_margin = self.config.poll_time_idle.as_secs_f64() + 1.0; + let interval_margin = self.config.poll_time_window.as_secs_f64() + 1.0; self.client .heartbeat(&self.active_window_bucket_name, &event, interval_margin) .await