INNER CODE UNIT · Python

duration

heymrun/heym · backend/app/main.py:265

            duration = (time.time() - start_time) * 1000
            logger.exception(
                "error %s %s %sms %s %s",
                request.method,
                request.url.path,
                f"{duration:.2f}",
                client_ip,
                str(exc),
            )
            raise
        duration = (time.time() - start_time) * 1000
        logger.info(
            "response %s %s %s %sms %s",
            request.method,
            request.url.path,
            response.status_code,
            f"{duration:.2f}",
            client_ip,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…