Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptemberHX committed Mar 22, 2022
1 parent 447e44d commit 8ebd2d8
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 @@ -50,10 +50,10 @@ def send_request(user_id, func_obj):
}
}
t1 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'==> {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t1}')
logger.debug(f'==> {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t1}|{threading.currentThread()}')
response = requests.post(gateway, json=data)
t2 = datetime.datetime.now().timestamp() * 1000 # ms
logger.debug(f'<== {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t2}')
logger.debug(f'<== {user_id}|{data["svcId"]}|{data["patternUrl"]}|{t2}|')

if response.status_code == 200:
if 'status' in response.json():
Expand Down

0 comments on commit 8ebd2d8

Please sign in to comment.