Skip to content

Commit

Permalink
Change downsampling for cover equal intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 24, 2024
1 parent 4017d13 commit 233e4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/net/routing/interceptor/downsampling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl InterceptorTrait for IngressMsgDownsampler {
self.latest_message_timestamp.lock().unwrap();

if timestamp - *latest_message_timestamp
> std::time::Duration::from_millis(self.conf.threshold_ms)
>= std::time::Duration::from_millis(self.conf.threshold_ms)
{
*latest_message_timestamp = timestamp;
log::trace!("Interceptor: Passed threshold, passing.");
Expand Down

0 comments on commit 233e4e9

Please sign in to comment.