Skip to content

Commit

Permalink
Fix: Not sending rsp_time causing latency to be 0ms
Browse files Browse the repository at this point in the history
  • Loading branch information
dgilling committed Feb 5, 2018
1 parent 19b8542 commit 2fe73b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moesifdjango/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def mapper(key):
body=req_body,
transfer_encoding=req_body_transfer_encoding)

event_rsp = EventResponseModel(time=req_time.isoformat(),
event_rsp = EventResponseModel(time=rsp_time.isoformat(),
status=response.status_code,
headers=rsp_headers,
body=rsp_body,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.2.3',
version='1.2.4',

description='Moesif Middleware for Python Django',
long_description=long_description,
Expand Down

0 comments on commit 2fe73b1

Please sign in to comment.