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