Skip to content

Commit

Permalink
add default for job queue connection (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade authored Oct 3, 2024
1 parent 3a7986c commit cee3f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/riverqueue/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type JobClient interface {
// Config settings for the river client
type Config struct {
// ConnectionURI is the connection URI for the database
ConnectionURI string `koanf:"connectionURI" json:"connectionURI" default:""`
ConnectionURI string `koanf:"connectionURI" json:"connectionURI" default:"postgres://postgres:[email protected]:5432/jobs?sslmode=disable"`
// RunMigrations is a flag to determine if migrations should be run
RunMigrations bool `koanf:"runMigrations" json:"runMigrations" default:"false"`
// RiverConf is the river configuration
Expand Down

0 comments on commit cee3f72

Please sign in to comment.