Commit 90cb917
Prevent slow-to-start containers from trying to run in the same slot (#114)
* Reserve slot for container once identified. Prevents race condition where containers start in the same slot if slow to start.
---------
Signed-off-by: Dan Kouba <dan@atym.io>
Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
Co-authored-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>1 parent 533f2f5 commit 90cb917
3 files changed
Lines changed: 4 additions & 1 deletion
File tree
- src/ocre
- components/container_supervisor
- ocre_container_runtime
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
| 358 | + | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments