Fixes #24829 - Fixes setting pool size when using rails
Fixes #24829 - Fixes setting pool size when using rails

Before this commit, the setting would be simply overridden by 5.

Dynflow/dynflow,Dynflow/dynflow,Dynflow/dynflow,Dynflow/dynflow