Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 46c8826

Browse files
committed
fix(next-js): disable health check by defualt (#1398)
1 parent cd06258 commit 46c8826

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/next-js/src/mod.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export const toNextHandler = (
1111
// Configure serverless
1212
inputConfig.runnerKind = "serverless";
1313

14+
// TODO: We probably want to move this to the registry for all serverless runners
15+
// Metadata endpoint will not exist at 127.0.0.1:6420
16+
inputConfig.disableHealthCheck = true;
17+
1418
// Auto-configure serverless runner if not in prod
1519
if (process.env.NODE_ENV !== "production") {
1620
logger().debug(

0 commit comments

Comments
 (0)