Browse Source

[mormot] Adjust async (pinned) thread pool size for best results (#8293)

Co-authored-by: pavel.mash <[email protected]>
pavelmash 2 years ago
parent
commit
15a81165e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Pascal/mormot/src/raw.pas

+ 1 - 1
frameworks/Pascal/mormot/src/raw.pas

@@ -718,7 +718,7 @@ begin
     begin
     begin
       // asynchronus test
       // asynchronus test
       servers := cpuCount;
       servers := cpuCount;
-      threads := 4;
+      threads := 8;
     end
     end
     else
     else
     if GetEnvironmentVariable('TFB_TEST_NAME') = 'mormot-postgres-async2' then
     if GetEnvironmentVariable('TFB_TEST_NAME') = 'mormot-postgres-async2' then