mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
Feature/scanner performance optimization (#498)
* Refactor: reimplement scanner Signed-off-by: RustFS Developer <dandan@rustfs.com> * comment lock Signed-off-by: junxiang Mu <1948535941@qq.com> * remove dirty file Signed-off-by: junxiang Mu <1948535941@qq.com> * Fix: fix rebase * fix(scanner): Improve error handling and logging Signed-off-by: junxiang Mu <1948535941@qq.com> --------- Signed-off-by: RustFS Developer <dandan@rustfs.com> Signed-off-by: junxiang Mu <1948535941@qq.com> Co-authored-by: RustFS Developer <dandan@rustfs.com>
This commit is contained in:
@@ -519,14 +519,9 @@ mod test {
|
||||
|
||||
let p = Policy::parse_config(data.as_bytes())?;
|
||||
|
||||
// println!("{:?}", p);
|
||||
|
||||
let str = serde_json::to_string(&p)?;
|
||||
|
||||
// println!("----- {}", str);
|
||||
|
||||
let _p2 = Policy::parse_config(str.as_bytes())?;
|
||||
// println!("33{:?}", p2);
|
||||
|
||||
// assert_eq!(p, p2);
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user