Skip to content

Commit

Permalink
Remove start_time in one more place
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed May 4, 2021
1 parent 7166fa1 commit 1d2644c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/contrib/fasthttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def request(
# Record the consumed time
# Note: This is intentionally placed after we record the content_size above, since
# we'll then trigger fetching of the body (unless stream=True)
request_meta["response_time"] = int((default_timer() - request_meta["start_time"]) * 1000)
request_meta["response_time"] = int((default_timer() - start_time) * 1000)

if catch_response:
return ResponseContextManager(response, environment=self.environment, request_meta=request_meta)
Expand Down

0 comments on commit 1d2644c

Please sign in to comment.