@maestro-js/aws-cdk-recipes 1.0.0-alpha.25 → 1.0.0-alpha.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2573,7 +2573,7 @@ async function main() {
|
|
|
2573
2573
|
if (key === SENTINEL) {
|
|
2574
2574
|
// A long-running service sets ARTIFACT_PLACEHOLDER_PORT and wants the healthy placeholder so its
|
|
2575
2575
|
// create-time task stabilizes. A one-off task (e.g. a migration run) sets no port and must fail
|
|
2576
|
-
// closed instead
|
|
2576
|
+
// closed instead - a placeholder server would hang forever and the task would never complete.
|
|
2577
2577
|
const placeholderPort = Number(process.env.ARTIFACT_PLACEHOLDER_PORT)
|
|
2578
2578
|
if (!placeholderPort) {
|
|
2579
2579
|
console.log('ARTIFACT_KEY_SENTINEL no artifact registered yet; failing closed')
|