feat: runtime manager
This commit is contained in:
@@ -429,7 +429,7 @@ func (worker *Worker) cascadeOwnedGames(
|
||||
}
|
||||
|
||||
if _, inflight := inflightGameStatuses[record.Status]; inflight {
|
||||
if err := worker.runtimeManager.PublishStopJob(ctx, record.GameID.String()); err != nil {
|
||||
if err := worker.runtimeManager.PublishStopJob(ctx, record.GameID.String(), ports.StopReasonCancelled); err != nil {
|
||||
return cancelled, fmt.Errorf("user lifecycle handle: publish stop job for %s: %w",
|
||||
record.GameID, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user