Recover unhealthy containers during create and rebuild
This commit is contained in:
@@ -44,7 +44,9 @@ parentPort!.on('message', (message: { id: number; kind: 'launch'; input: NativeL
|
||||
PLUTO_SERVER_KEY: input.serverKey },
|
||||
files: recipe.files.map(file => ({ path: posix.join(relDestForKind(file.kind, recipe.game), file.path),
|
||||
contentSha256: file.sha256, sha256: file.sha256 })),
|
||||
...(input.rebuild ? { nextGeneration: instance.generation + 1, ...(input.safetyOverride ? { safetyOverride: true } : {}) } : {})
|
||||
...(input.rebuild ? { nextGeneration: instance.generation + 1,
|
||||
...(input.safetyOverride ? { safetyOverride: true } : {}),
|
||||
...(input.unhealthyRecovery ? { unhealthyRecovery: true } : {}) } : {})
|
||||
};
|
||||
const encode = (value: unknown) => new TextEncoder().encode(JSON.stringify(value));
|
||||
const blobs = [...new Map(recipe.files.map(file => [file.sha256,
|
||||
|
||||
Reference in New Issue
Block a user