INNER CODE UNIT · Python

duration_ms

yaojingang/GEORank · backend/app/main.py:253

        duration_ms = round((time.perf_counter() - started) * 1000, 2)
        log_event(
            logger,
            logging.ERROR,
            "http.request.failed",
            request_id=request_id,
            method=request.method,
            path=request.url.path,
            query=str(request.url.query or ""),
            duration_ms=duration_ms,
        )
        raise

    duration_ms = round((time.perf_counter() - started) * 1000, 2)
    response.headers["X-Request-ID"] = request_id
    log_event(
        logger,
        logging.INFO,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…