From 8110eed526cbf243490ee945d16cd3d13e22f68c Mon Sep 17 00:00:00 2001 From: Nic Pottier Date: Tue, 30 Apr 2019 15:03:31 -0500 Subject: [PATCH] up max connections to two since we need cursor when deleting broadcasts --- cmd/rp-archiver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rp-archiver/main.go b/cmd/rp-archiver/main.go index cc22430..758b8d4 100644 --- a/cmd/rp-archiver/main.go +++ b/cmd/rp-archiver/main.go @@ -63,7 +63,7 @@ func main() { if err != nil { logrus.Fatal(err) } - db.SetMaxOpenConns(1) + db.SetMaxOpenConns(2) var s3Client s3iface.S3API if config.UploadToS3 {