File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type Config struct {
12
12
Logger Logger `koanf:"-" json:"-"`
13
13
14
14
// DatabaseHost for connecting to the postgres database
15
- DatabaseHost string `koanf:"databaseHost" json:"databaseHost" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
15
+ DatabaseHost string `koanf:"databaseHost" json:"databaseHost" sensitive:"true" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
16
16
// Queues to be enabled on the server, if not provided, a default queue is created
17
17
Queues []Queue `koanf:"queues" json:"queues" default:""`
18
18
// Workers to be enabled on the server
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ type JobClient interface {
58
58
// Config settings for the river client
59
59
type Config struct {
60
60
// ConnectionURI is the connection URI for the database
61
- ConnectionURI string `koanf:"connectionURI" json:"connectionURI" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
61
+ ConnectionURI string `koanf:"connectionURI" json:"connectionURI" sensitive:"true" default:"postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable"`
62
62
// RunMigrations is a flag to determine if migrations should be run
63
63
RunMigrations bool `koanf:"runMigrations" json:"runMigrations" default:"false"`
64
64
// RiverConf is the river configuration
You can’t perform that action at this time.
0 commit comments