Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptemberHX committed Mar 21, 2022
1 parent b22e8a7 commit a0b64c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions users.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def send_request(user_id, func_obj):
}
}
}
t1 = datetime.datetime.now().timestamp()
t1 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'==> {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t1}')
response = requests.post(gateway, json=json.dumps(data))
t2 = datetime.datetime.now().timestamp()
t2 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'<== {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t2}')

if response.status_code == 200:
Expand Down

0 comments on commit a0b64c3

Please sign in to comment.