{lyn7621} adding more time via ap_max_activate_time (#5180)

* adding more time via ap_max_activate_time so that the Debug
  version of AP-GUI can load all the builder DLLs

Signed-off-by: jackalbe <23512001+jackalbe@users.noreply.github.com>
monroegm-disable-blank-issue-2
Allen Jackson 4 years ago committed by GitHub
parent 8f56dc10c3
commit 8b5a0350b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -195,8 +195,11 @@ class AssetProcessor(object):
logger.debug("Failed to read port from file", exc_info=ex)
return False
# the timeout needs to be large enough to load all the dynamic libraries the AP-GUI loads since the control port
# is opened after all the DLL loads, this can take a long time in a Debug build
ap_max_activate_time = 60
err = AssetProcessorError(f"Failed to read port type {port_type} from {self._workspace.paths.ap_gui_log()}")
waiter.wait_for(_get_port_from_log, timeout=10, exc=err)
waiter.wait_for(_get_port_from_log, timeout=ap_max_activate_time, exc=err)
return port
def set_control_connection(self, connection):

Loading…
Cancel
Save