diff --git a/.vscode/settings.json b/.vscode/settings.json index 1f48928..fdbc9ea 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "conventionalCommits.scopes": ["bot"] + "conventionalCommits.scopes": ["bot", "db"] } diff --git a/compose.yml b/compose.yml index c0d52a4..aaedd18 100644 --- a/compose.yml +++ b/compose.yml @@ -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: diff --git a/payphone/core/config.py b/payphone/core/config.py index dcb7a92..923a280 100644 --- a/payphone/core/config.py +++ b/payphone/core/config.py @@ -19,7 +19,7 @@ TORTOISE_ORM = { } }, "minsize": 5, - "maxsize": 500 + "maxsize": 1000 } SUGGESTIONS_CHANNEL_ID = int(os.getenv("SUGGESTIONS_CHANNEL_ID"))