mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
don't require ssl
This commit is contained in:
parent
29c7caa591
commit
45bfa3039c
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func NewRedisClient(ctx context.Context) (*redis.Client, error) {
|
|||
|
||||
func NewDatabasePool(ctx context.Context, minConns int) (*pgxpool.Pool, error) {
|
||||
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"),
|
||||
minConns*8,
|
||||
minConns,
|
||||
|
|
Loading…
Reference in a new issue