20 lines
		
	
	
		
			683 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			683 B
		
	
	
	
		
			Go
		
	
	
	
| package constants
 | |
| 
 | |
| // Connection pooler specific constants
 | |
| const (
 | |
| 	ConnectionPoolerResourceSuffix       = "pooler"
 | |
| 	ConnectionPoolerUserName             = "pooler"
 | |
| 	ConnectionPoolerSchemaName           = "pooler"
 | |
| 	ConnectionPoolerDefaultType          = "pgbouncer"
 | |
| 	ConnectionPoolerDefaultMode          = "transaction"
 | |
| 	ConnectionPoolerDefaultCpuRequest    = "500m"
 | |
| 	ConnectionPoolerDefaultCpuLimit      = "1"
 | |
| 	ConnectionPoolerDefaultMemoryRequest = "100Mi"
 | |
| 	ConnectionPoolerDefaultMemoryLimit   = "100Mi"
 | |
| 
 | |
| 	ConnectionPoolerContainer            = 0
 | |
| 	ConnectionPoolerMaxDBConnections     = 60
 | |
| 	ConnectionPoolerMaxClientConnections = 10000
 | |
| 	ConnectionPoolerMinInstances         = 1
 | |
| )
 |