| ... | ... |
@@ -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
|