Use configuration to determine worker pool size