Skip to content

Commit 85cdbbb

Browse files
committed
fix: increase default health wait
1 parent ce7fe5d commit 85cdbbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/node/process.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ func NewProcessManager(gcInterval, idleTimeout time.Duration, tempDir string, lo
4646
idleTimeout: idleTimeout,
4747
tempDir: tempDir,
4848
logger: logger,
49-
nodeServerPort: 3000, // Default port
50-
nextPort: 3000, // Initialize next port to the default port
51-
healthCheckWait: 30 * time.Second, // Default timeout for health check
52-
healthCheckInterval: 500 * time.Millisecond, // Default interval for health check polling
53-
requestTimeout: 30 * time.Second, // Default timeout for requests
49+
nodeServerPort: 3000, // Default port
50+
nextPort: 3000, // Initialize next port to the default port
51+
healthCheckWait: 90 * time.Second, // Default timeout for health check
52+
healthCheckInterval: 1 * time.Millisecond, // Default interval for health check polling
53+
requestTimeout: 30 * time.Second, // Default timeout for requests
5454
}
5555

5656
// Apply options

0 commit comments

Comments
 (0)