This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(health): don't create a new db connection for each health check

+2 -2
+1 -1
churros.go
··· 70 70 } 71 71 72 72 func ConnectToDababase() error { 73 - return prisma.Prisma.QueryRaw("SELECT 1").Exec(context.Background(), nil) 73 + return prisma.Connect() 74 74 } 75 75 76 76 // Group returns the Churros group ID responsible for the notification
+1 -1
health.go
··· 88 88 } 89 89 90 90 func CheckChurrosDatabaseHealth() error { 91 - return ConnectToDababase() 91 + return prisma.Prisma.QueryRaw("SELECT 1").Exec(context.Background(), nil) 92 92 } 93 93 94 94 func CheckFirebaseHealth() error {