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) {
4444 }
4545 // Sort the time
4646 keys. sort_unstable ( ) ;
47- println ! ( "keys: {:?}" , keys) ;
4847
4948 let writer = METRIC_WRITER . as_ref ( ) . unwrap ( ) ;
5049 let mut writer = writer. lock ( ) . unwrap ( ) ;
@@ -73,13 +72,10 @@ pub fn do_aggregate() {
7372 current_metric_items ( stat:: inbound_node ( ) , cur_time) ,
7473 stat:: inbound_node ( ) ,
7574 ) ;
76- println ! ( "map: {:?}" , map) ;
7775
7876 // Update current last fetch timestamp.
7977 LAST_FETCH_TIME . store ( cur_time, Ordering :: SeqCst ) ;
8078
81- println ! ( "Store last fetch time {}" , cur_time) ;
82-
8379 if !map. is_empty ( ) {
8480 std:: thread:: spawn ( move || write_task ( map) ) ;
8581 }
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>>>;
1111pub fn rule_json_array_parser < P : SentinelRule + DeserializeOwned > (
1212 src : & str ,
1313) -> Result < Vec < Arc < P > > > {
14- println ! ( "{:?}" , src) ;
15- println ! ( "{:?}" , serde_json:: from_str:: <Vec <P >>( src) ) ;
1614 let rules: Vec < P > = serde_json:: from_str ( src) ?;
1715 Ok ( rules. into_iter ( ) . map ( |r| Arc :: new ( r) ) . collect ( ) )
1816}
You can’t perform that action at this time.
0 commit comments