Преглед изворни кода

Some additional tuning for Nima. (#8307)

Signed-off-by: Santiago Pericasgeertsen <[email protected]>
Santiago Pericas-Geertsen пре 2 година
родитељ
комит
b75347b01d
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      frameworks/Java/helidon/nima/src/main/resources/application.yaml

+ 5 - 5
frameworks/Java/helidon/nima/src/main/resources/application.yaml

@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2022 Oracle and/or its affiliates.
+# Copyright (c) 2022, 2023 Oracle and/or its affiliates.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -22,8 +22,8 @@ server:
       port: 8080
       backlog: 8192
       receive-buffer-size: 64000
-      # set write-queue-length to 0 to disable async writes
-      write-queue-length: 1024
+      # set write-queue-length to 0 or not setting it will disable async writes
+      # write-queue-length: 1024
       connection-options:
         read-timeout-seconds: 0
         connect-timeout-seconds: 0
@@ -41,10 +41,10 @@ host: "tfb-database"
 db: "hello_world"
 username: benchmarkdbuser
 password: benchmarkdbpass
-sql-pool-size: 1024
+sql-pool-size: 200
 db-repository: "pgclient"     # "pgclient" (default) or "hikari"
 
 # The following for pgclient only
-update-batch-size: 5
+update-batch-size: 4
 update-timeout-millis: 10000
 update-max-retries: 3