Skip to main content

log_slow_leg

Function log_slow_leg 

Source
fn log_slow_leg(
    leg: &str,
    parent_id: &str,
    started: Instant,
    result: &Result<SearchResult, RepoError>,
)
Expand description

Log a get_items leg that took long enough to be felt, so a slow page can be attributed to the cache or the server from a device log alone.