|
36 | 36 | web_concurrency: |
37 | 37 | description: 'Number of Puma worker processes' |
38 | 38 | required: false |
39 | | - default: 2 |
| 39 | + default: 4 |
| 40 | + type: number |
| 41 | + rails_max_threads: |
| 42 | + description: 'Maximum number of Puma threads' |
| 43 | + required: false |
| 44 | + default: 3 |
| 45 | + type: number |
| 46 | + rails_min_threads: |
| 47 | + description: 'Minimum number of Puma threads (same as maximum if not set)' |
| 48 | + required: false |
40 | 49 | type: number |
41 | 50 | tools: |
42 | 51 | description: 'Comma-separated list of tools to run' |
|
56 | 65 | RATE: ${{ github.event.inputs.rate || 'max' }} |
57 | 66 | DURATION_SEC: ${{ github.event.inputs.duration_sec || 30 }} |
58 | 67 | REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout || '60s' }} |
59 | | - CONNECTIONS: ${{ github.event.inputs.connections || '10' }} |
60 | | - MAX_CONNECTIONS: ${{ github.event.inputs.max_connections || github.event.inputs.connections || '10' }} |
61 | | - WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || '2' }} |
| 68 | + CONNECTIONS: ${{ github.event.inputs.connections || 10 }} |
| 69 | + MAX_CONNECTIONS: ${{ github.event.inputs.max_connections || github.event.inputs.connections || 10 }} |
| 70 | + WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || 4 }} |
| 71 | + RAILS_MAX_THREADS: ${{ github.event.inputs.rails_max_threads || 3 }} |
| 72 | + RAILS_MIN_THREADS: ${{ github.event.inputs.rails_min_threads || github.event.inputs.rails_max_threads || 3 }} |
62 | 73 | TOOLS: ${{ github.event.inputs.tools || 'fortio,vegeta,k6' }} |
63 | 74 |
|
64 | 75 | jobs: |
@@ -269,6 +280,8 @@ jobs: |
269 | 280 | echo " - CONNECTIONS: ${CONNECTIONS}" |
270 | 281 | echo " - MAX_CONNECTIONS: ${MAX_CONNECTIONS}" |
271 | 282 | echo " - WEB_CONCURRENCY: ${WEB_CONCURRENCY}" |
| 283 | + echo " - RAILS_MAX_THREADS: ${RAILS_MAX_THREADS}" |
| 284 | + echo " - RAILS_MIN_THREADS: ${RAILS_MIN_THREADS}" |
272 | 285 | echo " - TOOLS: ${TOOLS}" |
273 | 286 | echo "" |
274 | 287 |
|
|
0 commit comments