Skip to content

Commit

Permalink
chore: startup timeout for FTL dev (#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Nov 21, 2024
1 parent 7d33918 commit 3d3ef70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/hermit.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env = {
"FTL_ENDPOINT": "http://127.0.0.1:8892",
"FTL_INIT_GO_REPLACE": "github.com/TBD54566975/ftl=${HERMIT_ENV}",
"FTL_SOURCE": "${HERMIT_ENV}",
"FTL_STARTUP_TIMEOUT": "30s",
"OTEL_GRPC_PORT": "4317",
"OTEL_HTTP_PORT": "4318",
"OTEL_METRIC_EXPORT_INTERVAL": "5000",
Expand Down
2 changes: 1 addition & 1 deletion frontend/cli/cmd_serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type serveCommonConfig struct {
Provisioners int `short:"p" help:"Number of provisioners to start." default:"1"`
Background bool `help:"Run in the background." default:"false"`
Stop bool `help:"Stop the running FTL instance. Can be used with --background to restart the server" default:"false"`
StartupTimeout time.Duration `help:"Timeout for the server to start up." default:"10s"`
StartupTimeout time.Duration `help:"Timeout for the server to start up." default:"10s" env:"FTL_STARTUP_TIMEOUT"`
ObservabilityConfig observability.Config `embed:"" prefix:"o11y-"`
DatabaseImage string `help:"The container image to start for the database" default:"postgres:15.8" env:"FTL_DATABASE_IMAGE" hidden:""`
RegistryImage string `help:"The container image to start for the image registry" default:"registry:2" env:"FTL_REGISTRY_IMAGE" hidden:""`
Expand Down

0 comments on commit 3d3ef70

Please sign in to comment.