Skip to content

Commit 67744df

Browse files
fix: JVM startup timeout (#5081)
We don't really want a timeout here, 100m is basically long enough that we will never hit it
1 parent 6300985 commit 67744df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jvm-runtime/plugin/common/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ func launchQuarkusProcessAsync(ctx context.Context, devModeBuild string, buildCt
563563
func (s *Service) connectReloadClient(ctx context.Context, hotReloadEndpoint string, output *errorDetector) (hotreloadpbconnect.HotReloadServiceClient, error) {
564564
logger := log.FromContext(ctx)
565565
client := rpc.Dial(hotreloadpbconnect.NewHotReloadServiceClient, hotReloadEndpoint, log.Trace)
566-
err := rpc.Wait(ctx, backoff.Backoff{Min: time.Millisecond * 10, Max: time.Millisecond * 50}, time.Minute, client)
566+
err := rpc.Wait(ctx, backoff.Backoff{Min: time.Millisecond * 10, Max: time.Millisecond * 50}, time.Minute*100, client)
567567
if err != nil {
568568
logger.Infof("Dev mode process failed to start")
569569
select {

0 commit comments

Comments
 (0)