Skip to content

Commit

Permalink
add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
saniho committed Dec 2, 2024
1 parent ce16eb9 commit f8edb9c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 18 deletions.
63 changes: 46 additions & 17 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion custom_components/apiMareeInfo/apiMareeInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def getdata(self):
},
headers={
'Authorization': self._storm_key
}
},
timeout = 600
)
# Do something with response data.
json_data = response.json()
Expand Down

0 comments on commit f8edb9c

Please sign in to comment.