You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current configuration script will attempt 60 times for the Tomcat to start. Ideally it would translate to 60 seconds, but it could also translate to a very long time if each attempt takes a while to complete. The code should be replaced with a proper timeout.
configuration.py:
status = util.instance.wait_for_startup(60)
pkihelper.py:
def wait_for_startup(self, timeout):
tries = 1
status = self.get_instance_status()
while status != "running":
if tries >= timeout:
return None
time.sleep(1)
status = self.get_instance_status()
tries = tries + 1
return status
The text was updated successfully, but these errors were encountered:
This issue was migrated from Pagure Issue #563. Originally filed by edewata (@edewata) on 2013-03-21 20:16:40:
The current configuration script will attempt 60 times for the Tomcat to start. Ideally it would translate to 60 seconds, but it could also translate to a very long time if each attempt takes a while to complete. The code should be replaced with a proper timeout.
configuration.py:
pkihelper.py:
The text was updated successfully, but these errors were encountered: