소스 검색

H2O: Yet another adjustment to the number of database connections (#3730)

Anton Kirilov 7 년 전
부모
커밋
74ee1b0d99
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frameworks/C/h2o/start-servers.sh

+ 1 - 1
frameworks/C/h2o/start-servers.sh

@@ -17,7 +17,7 @@ if [[ "$CPU_COUNT" -gt 16 ]]; then
 	# In the physical hardware environment the number of threads used by the application is not
 	# the same as the number of logical CPU cores that the database server has, so we need to
 	# adjust the maximum number of database connections per thread accordingly.
-	DB_CONN=6
+	DB_CONN=5
 else
 	echo "Running h2o_app in the cloud environment."
 	USE_PROCESSES=false