X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=store.py;fp=store.py;h=0c018e017b062aed66fd558cafaa1ef10ed722d6;hb=9fe90554ff1c8c7aea9e1e1e210419a845579edd;hp=45a52339dc688bb9311451c476ec149b23f09a5f;hpb=18de421e455ab4b125a6684d703a296562097e6b;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FTrader.git diff --git a/store.py b/store.py index 45a5233..0c018e0 100644 --- a/store.py +++ b/store.py @@ -211,6 +211,7 @@ class ReportStore: "body": body, "headers": headers, "status": response.status_code, + "duration": response.elapsed.total_seconds(), "response": None, "response_same_as": self.last_http["date"] }) @@ -222,6 +223,7 @@ class ReportStore: "body": body, "headers": headers, "status": response.status_code, + "duration": response.elapsed.total_seconds(), "response": response.text, "response_same_as": None, })