Skip to content

Commit

Permalink
fix: increase timeout of studio handler (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbx9da4 authored Sep 13, 2024
1 parent 5b28d5b commit 95485f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/studio/launchStudio.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func LaunchStudio(ctx context.Context, workflow *run.Workflow) error {

// After ten seconds, if the health check hasn't been seen then kill the server
go func() {
time.Sleep(10 * time.Second)
time.Sleep(1 * time.Minute)
if !handlers.healthCheckSeen {
log.From(ctx).Warnf("Health check not seen, shutting down server")
err := server.Shutdown(context.Background())
Expand Down

0 comments on commit 95485f2

Please sign in to comment.