mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-11-04 03:47:53 +00:00 
			
		
		
		
	set max_connections to 4096
This commit is contained in:
		@@ -9,7 +9,7 @@ services:
 | 
				
			|||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./data:/var/lib/mysql
 | 
					      - ./data:/var/lib/mysql
 | 
				
			||||||
    command: --max_connections=2000
 | 
					    command: --max_connections=4096
 | 
				
			||||||
  # this container's job is to initialize MySQL database. It should run just one time.
 | 
					  # this container's job is to initialize MySQL database. It should run just one time.
 | 
				
			||||||
  databunker-init:
 | 
					  databunker-init:
 | 
				
			||||||
    #build: .
 | 
					    #build: .
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,11 @@ resource "aws_db_parameter_group" "databunkerparams" {
 | 
				
			|||||||
  name   = "db-params-${var.name_suffix}"
 | 
					  name   = "db-params-${var.name_suffix}"
 | 
				
			||||||
  family = "mysql8.0"
 | 
					  family = "mysql8.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  parameter {
 | 
				
			||||||
 | 
					    name = "max_connections"
 | 
				
			||||||
 | 
					    value = "4096"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  #parameter {
 | 
					  #parameter {
 | 
				
			||||||
  #  name  = "log_connections"
 | 
					  #  name  = "log_connections"
 | 
				
			||||||
  #  value = "1"
 | 
					  #  value = "1"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user