Add trove-api to $API_WORKERS
Ie4bb075310a61a0873c9e56e4974600dbb4794a1 missed trove when adding
support for $API_WORKERS.
Change-Id: Iaeb43ef63596a61ad9c128e57d6a2d68b688719e
diff --git a/lib/trove b/lib/trove
index 8628e35..cd2bcb0 100644
--- a/lib/trove
+++ b/lib/trove
@@ -144,6 +144,8 @@
iniset $TROVE_CONF_DIR/trove.conf DEFAULT sql_connection `database_connection_url trove`
iniset $TROVE_CONF_DIR/trove.conf DEFAULT default_datastore $TROVE_DATASTORE_TYPE
setup_trove_logging $TROVE_CONF_DIR/trove.conf
+ iniset $TROVE_CONF_DIR/trove.conf DEFAULT trove_api_workers "$API_WORKERS"
+
# (Re)create trove taskmanager conf file if needed
if is_service_enabled tr-tmgr; then