This commit is contained in:
2026-03-02 01:25:55 +01:00
parent 2cc8b6171d
commit 83d4514356

View File

@@ -1139,7 +1139,7 @@ class PortainerApi:
path = f"/endpoints/{self.endpoint_id}/forceupdateservice"
params={"serviceID": service_id, "pullImage": pool}
try:
resp = self._api_put(path, json=params, timeout=20)
resp = self._api_put(path, json=params, timeout=120)
# print(resp)
except ValueError as e:
print(f"Error restarting service: {e}")