Merge "devstack: increase concurrency and worker timeout for sushy-tools" into stable/ussuri

This commit is contained in:
Zuul 2020-06-13 16:46:05 +00:00 committed by Gerrit Code Review
commit 45fdeaa588
1 changed files with 3 additions and 0 deletions

View File

@ -939,6 +939,9 @@ function install_redfish {
cmd+=" --bind ${HOST_IP}:${IRONIC_REDFISH_EMULATOR_PORT}"
cmd+=" --env FLASK_DEBUG=1"
cmd+=" --env SUSHY_EMULATOR_CONFIG=${IRONIC_REDFISH_EMULATOR_CONFIG}"
# NOTE(dtantsur): handling virtual media ISO can take time, so increase
# both concurrency and the worker timeout.
cmd+=" --workers 2 --threads 2 --timeout 90"
write_user_unit_file $IRONIC_REDFISH_EMULATOR_SYSTEMD_SERVICE "$cmd" "" "$STACK_USER"