api-manager
api-manager copied to clipboard
[APIM 3.1.0] Can't change the "worker_pool_size_core" value via the "deployment.toml" file
Description
We can't change the passthrough thread pool configurations(worker_pool_size_core) using the configuration below.
[passthru_http]
worker_pool_size_core = 410
worker_pool_size_max = 500
The "default.json" value and found it has set the default value as follows.
"passthru_http.\u0027worker_pool_size_core\u0027": "400",
If we modify the above line by removing the ' \u0027' as follows, it will work.
"passthru_http.worker_pool_size_core": "400",
Steps to Reproduce
- Download APIM 3.1.0 and update the pack to the latest update level.
- Modified the toml file with the below configurations to change the passthrough thread pool configurations.
[passthru_http]
worker_pool_size_core = 410
worker_pool_size_max = 600
- Then start the server and check the "passthru-http.properties" file to verify the changes are available.
- Result: The "worker_pool_size_max" value will be set as 600, but "worker_pool_size_core" won't be set as "410"; it will show as 400. 400 is the default value.
Affected Component
APIM
Version
3.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
https://github.com/wso2/api-manager/issues/317
Suggested Labels
No response