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 {
252
252
253
253
async fn fetch_symbols ( history_url : & Url ) -> Result < Vec < SymbolResponse > > {
254
254
let mut url = history_url. clone ( ) ;
255
- url. set_scheme ( "http" ) . map_err ( |_| anyhow ! ( "invalid url" ) ) ?;
256
255
url. set_path ( "/history/v1/symbols" ) ;
257
256
let client = Client :: new ( ) ;
258
257
let response = client. get ( url) . send ( ) . await ?. error_for_status ( ) ?;
@@ -369,6 +368,8 @@ mod lazer_exporter {
369
368
S : Send + Sync + ' static ,
370
369
{
371
370
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
+
372
373
let mut publish_interval = tokio:: time:: interval ( config. publish_interval_duration ) ;
373
374
let mut symbol_fetch_interval =
374
375
tokio:: time:: interval ( config. symbol_fetch_interval_duration ) ;
You can’t perform that action at this time.
0 commit comments