From cee3f72f8dbd41b18f170a672a6cb08d4dec3327 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:43:04 -0600 Subject: [PATCH] add default for job queue connection (#22) Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- pkg/riverqueue/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/riverqueue/client.go b/pkg/riverqueue/client.go index 08a038d..fbf55f5 100644 --- a/pkg/riverqueue/client.go +++ b/pkg/riverqueue/client.go @@ -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: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