mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
feat(api): configurable max pool connections
This should help with failing health checks while the crawler is running. Quick math: 10 users, 30 songs each, each song requires at least 3 queries => 900 db queries every minute. With the default of 10 pool connections, this blocks all available db bandwidth for some time and causes slow UI and failing healthchecks.
This commit is contained in:
parent
7de5e14d4e
commit
ee5bd41a37
5 changed files with 12 additions and 0 deletions
|
|
@ -75,6 +75,9 @@ externalDatabase:
|
|||
password:
|
||||
database:
|
||||
|
||||
database:
|
||||
poolMax: 50
|
||||
|
||||
spotify:
|
||||
clientId:
|
||||
clientSecret:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue