Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pygeoapi_config_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down Expand Up @@ -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}")
Expand Down