Commit 6862d3a
fix(flagd): cap container pool size to avoid Docker overload
Default pool size was Runtime.availableProcessors() which on large machines
(22 CPUs) spawned too many simultaneous Docker Compose stacks and caused
ContainerLaunchException. Cap at min(availableProcessors, 4).
Cucumber threads still scale with CPUs (dynamic factor=1) — extra threads
simply block waiting for a free container, which is safe.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>1 parent f5d90c0 commit 6862d3a
File tree
2 files changed
+5
-5
lines changed- providers/flagd/src/test
- java/dev/openfeature/contrib/providers/flagd/e2e
- resources
2 files changed
+5
-5
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments