Browse code

Merge "Make Swift uses API_WORKERS"

Jenkins authored on 2014/09/20 22:03:50
Showing 1 changed files
... ...
@@ -269,7 +269,7 @@ function generate_swift_config {
269 269
     iniset ${swift_node_config} DEFAULT log_facility LOG_LOCAL${log_facility}
270 270
 
271 271
     iniuncomment ${swift_node_config} DEFAULT workers
272
-    iniset ${swift_node_config} DEFAULT workers 1
272
+    iniset ${swift_node_config} DEFAULT workers ${API_WORKERS:-1}
273 273
 
274 274
     iniuncomment ${swift_node_config} DEFAULT disable_fallocate
275 275
     iniset ${swift_node_config} DEFAULT disable_fallocate true