This change adds a new fact that can be used as the default values for any worker configuration. When used this fact will reduce the number of default workers configured for services. Previously we were using $::processorcount which could lead to excessive memory consumption or connection limits being execeeded when services were deployed on baremetal with large number of processors. The os_workers fact uses the larger of two following values, '2' or '# processors / 4' but will not exceed '8'. Change-Id: Ia588817fde9203a134bc9eaad9a5bd5453d7639a
714 B
714 B