diff --git a/pygeoapi_config_dialog.py b/pygeoapi_config_dialog.py index e5162c7..4795325 100644 --- a/pygeoapi_config_dialog.py +++ b/pygeoapi_config_dialog.py @@ -236,7 +236,7 @@ def push_to_server(self, url, data_to_push: dict): # TODO: support authentication through the QT framework try: # Send the PUT request to Admin API - response = requests.put(url, headers=headers, json=data_to_push, timeout=10) + response = requests.put(url, headers=headers, json=data_to_push, timeout=50) response.raise_for_status() QgsMessageLog.logMessage(f"Success! Status Code: {response.status_code}") @@ -266,7 +266,7 @@ def pull_from_server(self, url): # TODO: support authentication through the QT framework try: # Send the GET request to Admin API - response = requests.get(url, headers=headers, timeout=10) + response = requests.get(url, headers=headers, timeout=50) response.raise_for_status() QgsMessageLog.logMessage(f"Success! Status Code: {response.status_code}")