Commit 26ec47a
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 428cdb6 commit 26ec47a
3 files changed
Lines changed: 6 additions & 6 deletions
File tree
- providers/flagd
- src/test
- java/dev/openfeature/contrib/providers/flagd/e2e
- resources
Lines 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 | | |
| |||
Submodule test-harness updated from f278278 to ff2fbe6
0 commit comments