1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Bump ACPI Shutdown Timeout to 120 seconds. Ref #1536

This commit is contained in:
grossmj 2019-02-26 23:19:33 +07:00
parent 01481cde1f
commit 879e32eb9a

View File

@ -974,7 +974,7 @@ class QemuVM(BaseNode):
try:
if self.acpi_shutdown:
yield from self._control_vm("system_powerdown")
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=30)
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=120)
else:
self._process.terminate()
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)