Commit a1d56b0
committed
fix: Remove conflicting scale-down from minInstances useEffect
The second useEffect was unconditionally scaling down servers when
count exceeded minInstances, which conflicted with the CPU-based
auto-scaling in the game loop. Now the useEffect only handles
scaling UP to meet minimum requirements, while CPU-based scale-up
and scale-down remain controlled by the game loop thresholds.1 parent e266a21 commit a1d56b0
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 417 | | |
427 | 418 | | |
428 | 419 | | |
| |||
0 commit comments