We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b939cae + 80786e0 commit 58f8f42Copy full SHA for 58f8f42
1 file changed
lib/ceilometer
@@ -154,6 +154,7 @@ function configure_ceilometer {
154
155
if [ "$CEILOMETER_BACKEND" = 'mysql' ] || [ "$CEILOMETER_BACKEND" = 'postgresql' ] ; then
156
iniset $CEILOMETER_CONF database connection `database_connection_url ceilometer`
157
+ iniset $CEILOMETER_CONF DEFAULT collector_workers $(( ($(nproc) + 1) / 2 ))
158
else
159
iniset $CEILOMETER_CONF database connection mongodb://localhost:27017/ceilometer
160
configure_mongodb
0 commit comments