Fetch the topology from the nym-api concurrently (#5767)

* Fetch the topology from the nym-api concurrently

* Add path to get_json instrument
This commit is contained in:
Jon Häggblad
2025-05-15 15:00:41 +02:00
committed by GitHub
parent ca75fec048
commit e898f202b7
2 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -698,7 +698,7 @@ pub trait ApiClient: ApiClientCore {
/// 'get' json data from the segment-defined path, e.g. `["api", "v1", "mixnodes"]`, with tuple
/// defined key-value parameters, e.g. `[("since", "12345")]`. Attempt to parse the response
/// into the provided type `T`.
#[instrument(level = "debug", skip_all)]
#[instrument(level = "debug", skip_all, fields(path=?path))]
// TODO: deprecate in favour of get_response that works based on mime type in the response
async fn get_json<T, K, V, E>(
&self,