diff --git a/palm_utils.py b/palm_utils.py index fbca95c..b241654 100644 --- a/palm_utils.py +++ b/palm_utils.py @@ -111,7 +111,7 @@ def get_latest_data(self): } try: - resp = requests.request('GET', url, headers=headers) + resp = requests.request('GET', url, headers=headers, timeout=10) except requests.exceptions.RequestException as error: logger.error(error) return