perf(db): ⚡ Increase max_connections to 1000.

This commit is contained in:
Nyeki.py
2024-10-17 15:01:15 -03:00
parent 5f6f29485c
commit f33a2c0bb9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{
"conventionalCommits.scopes": ["bot"]
"conventionalCommits.scopes": ["bot", "db"]
}
+1 -1
View File
@@ -19,7 +19,7 @@ services:
- POSTGRES_PASSWORD=payphone
volumes:
- database:/var/lib/postgresql/data
command: postgres -c 'max_connections=500'
command: postgres -c 'max_connections=1000'
restart: always
redis:
+1 -1
View File
@@ -19,7 +19,7 @@ TORTOISE_ORM = {
}
},
"minsize": 5,
"maxsize": 500
"maxsize": 1000
}
SUGGESTIONS_CHANNEL_ID = int(os.getenv("SUGGESTIONS_CHANNEL_ID"))