perf(db): ⚡ Increase max_connections to 1000.
This commit is contained in:
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"conventionalCommits.scopes": ["bot"]
|
||||
"conventionalCommits.scopes": ["bot", "db"]
|
||||
}
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
@@ -19,7 +19,7 @@ TORTOISE_ORM = {
|
||||
}
|
||||
},
|
||||
"minsize": 5,
|
||||
"maxsize": 500
|
||||
"maxsize": 1000
|
||||
}
|
||||
|
||||
SUGGESTIONS_CHANNEL_ID = int(os.getenv("SUGGESTIONS_CHANNEL_ID"))
|
||||
|
||||
Reference in New Issue
Block a user