mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-30 01:22:28 +00:00
set max_connections to 4096
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./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.
|
||||
databunker-init:
|
||||
#build: .
|
||||
|
||||
@@ -31,6 +31,11 @@ resource "aws_db_parameter_group" "databunkerparams" {
|
||||
name = "db-params-${var.name_suffix}"
|
||||
family = "mysql8.0"
|
||||
|
||||
parameter {
|
||||
name = "max_connections"
|
||||
value = "4096"
|
||||
}
|
||||
|
||||
#parameter {
|
||||
# name = "log_connections"
|
||||
# value = "1"
|
||||
|
||||
Reference in New Issue
Block a user