Browse Source

fix(spider-gazelle.dockerfile): configure db pool (#8008)

Stephen von Takach 2 years ago
parent
commit
05ae9805ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Crystal/spider-gazelle/spider-gazelle.dockerfile

+ 1 - 1
frameworks/Crystal/spider-gazelle/spider-gazelle.dockerfile

@@ -10,7 +10,7 @@ COPY run.sh run.sh
 # Build App
 RUN shards build --release --no-debug
 
-ENV DATABASE_URL postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world
+ENV DATABASE_URL postgres://benchmarkdbuser:benchmarkdbpass@tfb-database:5432/hello_world?initial_pool_size=56&max_idle_pool_size=56
 
 ENV SG_ENV production