mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +00:00
Bump version to 1.2.1.dev2
This commit is contained in:
parent
8f53d51c05
commit
5a468888c8
@ -689,7 +689,7 @@ class QemuVM(object):
|
||||
if self._cpulimit_process and self._cpulimit_process.poll() is None:
|
||||
self._cpulimit_process.kill()
|
||||
try:
|
||||
self._process.wait(1)
|
||||
self._process.wait(3)
|
||||
except subprocess.TimeoutExpired:
|
||||
log.error("could not kill cpulimit process {}".format(self._cpulimit_process.pid))
|
||||
|
||||
@ -709,7 +709,7 @@ class QemuVM(object):
|
||||
subprocess.Popen([cpulimit_exec, "--lazy", "--pid={}".format(self._process.pid), "--limit={}".format(self._cpu_throttling)], cwd=self._working_dir)
|
||||
log.info("CPU throttled to {}%".format(self._cpu_throttling))
|
||||
except FileNotFoundError:
|
||||
raise QemuError("cpulimit could not be found, please deactivate CPU throttling")
|
||||
raise QemuError("cpulimit could not be found, please install it or deactivate CPU throttling")
|
||||
except subprocess.SubprocessError as e:
|
||||
raise QemuError("Could not throttle CPU: {}".format(e))
|
||||
|
||||
|
@ -23,5 +23,5 @@
|
||||
# or negative for a release candidate or beta (after the base version
|
||||
# number has been incremented)
|
||||
|
||||
__version__ = "1.2.1.dev1"
|
||||
__version__ = "1.2.1.dev2"
|
||||
__version_info__ = (1, 2, 1, 99)
|
||||
|
Loading…
Reference in New Issue
Block a user