diff --git a/portainer/api.py b/portainer/api.py index 56d8f3e..a93a9fc 100644 --- a/portainer/api.py +++ b/portainer/api.py @@ -1103,7 +1103,7 @@ class PortainerApi: # print(path) params={"pullImage": pull} try: - resp = self._api_post(path, json=params, timeout=20) + resp = self._api_post(path, json=params, timeout=120) #print(resp) except ValueError as e: print(f"Error restarting service: {e}")