don't require ssl

This commit is contained in:
Andre Medeiros 2021-07-22 20:38:13 -04:00
parent 29c7caa591
commit 45bfa3039c

View file

@ -52,7 +52,7 @@ func NewRedisClient(ctx context.Context) (*redis.Client, error) {
func NewDatabasePool(ctx context.Context, minConns int) (*pgxpool.Pool, error) { func NewDatabasePool(ctx context.Context, minConns int) (*pgxpool.Pool, error) {
url := fmt.Sprintf( url := fmt.Sprintf(
"%s?sslmode=require&pool_max_conns=%d&pool_min_conns=%d", "%s?pool_max_conns=%d&pool_min_conns=%d",
os.Getenv("DATABASE_CONNECTION_POOL_URL"), os.Getenv("DATABASE_CONNECTION_POOL_URL"),
minConns*8, minConns*8,
minConns, minConns,