Skip to content

Commit 37b5481

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Remove API_RATE_LIMIT variable since it's wrong anyway"
2 parents 0eee740 + ad9776e commit 37b5481

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

lib/nova

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ fi
5959
# Set the paths of certain binaries
6060
NOVA_ROOTWRAP=$(get_rootwrap_location nova)
6161

62-
# Allow rate limiting to be turned off for testing, like for Tempest
63-
# NOTE: Set API_RATE_LIMIT="False" to turn OFF rate limiting
64-
API_RATE_LIMIT=${API_RATE_LIMIT:-"True"}
65-
6662
# Option to enable/disable config drive
6763
# NOTE: Set FORCE_CONFIG_DRIVE="False" to turn OFF config drive
6864
FORCE_CONFIG_DRIVE=${FORCE_CONFIG_DRIVE:-"always"}
@@ -461,9 +457,6 @@ function create_nova_conf {
461457
if [ "$SYSLOG" != "False" ]; then
462458
iniset $NOVA_CONF DEFAULT use_syslog "True"
463459
fi
464-
if [ "$API_RATE_LIMIT" != "True" ]; then
465-
iniset $NOVA_CONF DEFAULT api_rate_limit "False"
466-
fi
467460
if [ "$FORCE_CONFIG_DRIVE" != "False" ]; then
468461
iniset $NOVA_CONF DEFAULT force_config_drive "$FORCE_CONFIG_DRIVE"
469462
fi

0 commit comments

Comments
 (0)