mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Bump ACPI Shutdown Timeout to 120 seconds. Ref #1536
This commit is contained in:
parent
01481cde1f
commit
879e32eb9a
@ -974,7 +974,7 @@ class QemuVM(BaseNode):
|
|||||||
try:
|
try:
|
||||||
if self.acpi_shutdown:
|
if self.acpi_shutdown:
|
||||||
yield from self._control_vm("system_powerdown")
|
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:
|
else:
|
||||||
self._process.terminate()
|
self._process.terminate()
|
||||||
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
|
yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
|
||||||
|
Loading…
Reference in New Issue
Block a user