fix bug
This commit is contained in:
@@ -52,7 +52,7 @@ async fn main()->Result<(),Error>{
|
|||||||
let last=last.time*(ONE_SECOND as f64);
|
let last=last.time*(ONE_SECOND as f64);
|
||||||
let first=first.time*(ONE_SECOND as f64);
|
let first=first.time*(ONE_SECOND as f64);
|
||||||
let duration=last as u64-first as u64;
|
let duration=last as u64-first as u64;
|
||||||
if 30000<duration{
|
if 30000*ONE_SECOND<duration{
|
||||||
self.outliers.push(path.to_owned());
|
self.outliers.push(path.to_owned());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user