Procházet zdrojové kódy

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

Co-authored-by: pavel.mash <[email protected]>
pavelmash před 2 roky
rodič
revize
15a81165e7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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