File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,6 @@ struct SymbolResponse {
252252
253253async fn fetch_symbols ( history_url : & Url ) -> Result < Vec < SymbolResponse > > {
254254 let mut url = history_url. clone ( ) ;
255- url. set_scheme ( "http" ) . map_err ( |_| anyhow ! ( "invalid url" ) ) ?;
256255 url. set_path ( "/history/v1/symbols" ) ;
257256 let client = Client :: new ( ) ;
258257 let response = client. get ( url) . send ( ) . await ?. error_for_status ( ) ?;
@@ -369,6 +368,8 @@ mod lazer_exporter {
369368 S : Send + Sync + ' static ,
370369 {
371370 let mut lazer_symbols = get_lazer_symbol_map ( & config. history_url ) . await ;
371+ tracing:: info!( "Retrieved {} Lazer feeds with hermes symbols from symbols endpoint: {}" , lazer_symbols. len( ) , & config. history_url) ;
372+
372373 let mut publish_interval = tokio:: time:: interval ( config. publish_interval_duration ) ;
373374 let mut symbol_fetch_interval =
374375 tokio:: time:: interval ( config. symbol_fetch_interval_duration ) ;
You can’t perform that action at this time.
0 commit comments