Increase cpu limit for image conversion

The 8 second timeout is not always sufficient for
large images.

Bump to 30s, which matches what Nova currently
uses for this same limit.

Change-Id: I0c26c400f08d91c8c125c69e06e4c90302bcdbb1
Closes-Bug: #1705340
(cherry picked from commit 3566c5145a)
(cherry picked from commit fa6f7d3d31)
(cherry picked from commit 186fb25d04)
This commit is contained in:
Eric Harney 2019-10-29 11:50:19 -04:00
parent e8b3232d2f
commit ce951a3b58
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ CONF = cfg.CONF
CONF.register_opts(image_helper_opts) CONF.register_opts(image_helper_opts)
QEMU_IMG_LIMITS = processutils.ProcessLimits( QEMU_IMG_LIMITS = processutils.ProcessLimits(
cpu_time=8, cpu_time=30,
address_space=1 * units.Gi) address_space=1 * units.Gi)