fix: ⚡ Increase DB max connections.
This commit is contained in:
@@ -19,6 +19,7 @@ services:
|
||||
- POSTGRES_PASSWORD=payphone
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
command: postgres -c 'max_connections=500'
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
|
||||
@@ -19,7 +19,7 @@ TORTOISE_ORM = {
|
||||
}
|
||||
},
|
||||
"minsize": 5,
|
||||
"maxsize": 100
|
||||
"maxsize": 500
|
||||
}
|
||||
|
||||
SUGGESTIONS_CHANNEL_ID = int(os.getenv("SUGGESTIONS_CHANNEL_ID"))
|
||||
|
||||
Reference in New Issue
Block a user