소스 검색

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

Stephen von Takach 2 년 전
부모
커밋
05ae9805ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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