Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/river/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Config struct {
Logger Logger `koanf:"-" json:"-"`

// DatabaseHost for connecting to the postgres database
DatabaseHost string `koanf:"databaseHost" json:"databaseHost" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
DatabaseHost string `koanf:"databaseHost" json:"databaseHost" sensitive:"true" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
// Queues to be enabled on the server, if not provided, a default queue is created
Queues []Queue `koanf:"queues" json:"queues" default:""`
// Workers to be enabled on the server
Expand Down
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:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
ConnectionURI string `koanf:"connectionURI" json:"connectionURI" sensitive:"true" default:"postgres://postgres:password@0.0.0.0: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