MCPcopy Create free account
hub / github.com/Permify/permify / MaxOpenConnections

Function MaxOpenConnections

pkg/database/postgres/options.go:12–14  ·  view source on GitHub ↗

MaxOpenConnections - Deprecated: use MaxConnections instead for consistency with pgxpool. Kept for backward compatibility and internally forwards to MaxConnections.

(size int)

Source from the content-addressed store, hash-verified

10// MaxOpenConnections - Deprecated: use MaxConnections instead for consistency with pgxpool.
11// Kept for backward compatibility and internally forwards to MaxConnections.
12func MaxOpenConnections(size int) Option {
13 return MaxConnections(size)
14}
15
16// MaxConnections - Defines maximum number of connections in the pool (maps to pgxpool MaxConns)
17func MaxConnections(size int) Option {

Callers 3

createTestDatabaseFunction · 0.85
postgres_test.goFile · 0.85

Calls 1

MaxConnectionsFunction · 0.85

Tested by 2

createTestDatabaseFunction · 0.68