Skip to content

Commit

Permalink
add timeout to mast call
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 30, 2024
1 parent a7f0294 commit 3932b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stdatamodels/jwst/_kwtool/_tests/test_against_mast.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def fetch_keyword_dictionary():
"https://mast.stsci.edu/api/v0/invoke",
data=f"request={request_data}",
headers={"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"},
timeout=10,
).json()
del response["msg"]
del response["status"]
Expand Down

0 comments on commit 3932b7c

Please sign in to comment.