File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ pub fn write_task(mut map: MetricTimeMap) {
44
44
}
45
45
// Sort the time
46
46
keys. sort_unstable ( ) ;
47
- println ! ( "keys: {:?}" , keys) ;
48
47
49
48
let writer = METRIC_WRITER . as_ref ( ) . unwrap ( ) ;
50
49
let mut writer = writer. lock ( ) . unwrap ( ) ;
@@ -73,13 +72,10 @@ pub fn do_aggregate() {
73
72
current_metric_items ( stat:: inbound_node ( ) , cur_time) ,
74
73
stat:: inbound_node ( ) ,
75
74
) ;
76
- println ! ( "map: {:?}" , map) ;
77
75
78
76
// Update current last fetch timestamp.
79
77
LAST_FETCH_TIME . store ( cur_time, Ordering :: SeqCst ) ;
80
78
81
- println ! ( "Store last fetch time {}" , cur_time) ;
82
-
83
79
if !map. is_empty ( ) {
84
80
std:: thread:: spawn ( move || write_task ( map) ) ;
85
81
}
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ pub type PropertyConverter<P> = fn(src: &str) -> Result<Vec<Arc<P>>>;
11
11
pub fn rule_json_array_parser < P : SentinelRule + DeserializeOwned > (
12
12
src : & str ,
13
13
) -> Result < Vec < Arc < P > > > {
14
- println ! ( "{:?}" , src) ;
15
- println ! ( "{:?}" , serde_json:: from_str:: <Vec <P >>( src) ) ;
16
14
let rules: Vec < P > = serde_json:: from_str ( src) ?;
17
15
Ok ( rules. into_iter ( ) . map ( |r| Arc :: new ( r) ) . collect ( ) )
18
16
}
You can’t perform that action at this time.
0 commit comments