Increase maximum connection pool size to 1000

This commit is contained in:
Ske 2019-08-12 02:34:59 +02:00
parent 213db91ade
commit c94c6c1c41

View File

@ -4,7 +4,7 @@ services:
build: . build: .
command: ["--project", "PluralKit.Bot"] command: ["--project", "PluralKit.Bot"]
environment: environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
- "PluralKit:InfluxUrl=http://influx:8086" - "PluralKit:InfluxUrl=http://influx:8086"
- "PluralKit:InfluxDb=pluralkit" - "PluralKit:InfluxDb=pluralkit"
- "PluralKit:LogDir=/var/log/pluralkit" - "PluralKit:LogDir=/var/log/pluralkit"
@ -19,7 +19,7 @@ services:
build: . build: .
command: ["--project", "PluralKit.Web"] command: ["--project", "PluralKit.Web"]
environment: environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
links: links:
- db - db
ports: ports:
@ -29,7 +29,7 @@ services:
build: . build: .
command: ["--project", "PluralKit.API"] command: ["--project", "PluralKit.API"]
environment: environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
links: links:
- db - db
ports: ports: