Skip to content

Commit

Permalink
changed waiting state to running for 202 code reposnse
Browse files Browse the repository at this point in the history
  • Loading branch information
abdollahis2 authored and abdollahis2 committed Apr 9, 2024
1 parent 6fab430 commit f6b04aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tr_sys/tr_ars/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def send_message(actor_dict, mesg_dict, timeout=300):
if 'tr_ars.message.status' in r.headers:
status = r.headers['tr_ars.message.status']
if r.status_code == 202:
status = 'W'
status = 'R'
url = url[:url.rfind('/')] + '/aresponse/' + r.text
if r.status_code >= 400:
if r.status_code != 503:
Expand Down

0 comments on commit f6b04aa

Please sign in to comment.