diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-07-05 22:00:57 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-07-05 22:00:57 +0000 |
commit | f5fe2b45c5b0841294061b9e6ab807560086d458 (patch) | |
tree | 32fd6c8b0c5f15b0028987ad45a97655393fda12 | |
parent | ccb744120b068290c685cf418ff0c254b54dcb39 (diff) |
Use 2 threads.
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java | 4 | ||||
-rw-r--r-- | configdefinitions/src/vespa/stor-filestor.def | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java index 1ac33c4a7e5..e4a02180f0e 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java @@ -150,7 +150,7 @@ public class StorageClusterTest { assertEquals(7, config.num_threads()); assertFalse(config.enable_multibit_split_optimalization()); - assertEquals(1, config.num_response_threads()); + assertEquals(2, config.num_response_threads()); } { assertEquals(1, stc.getChildren().size()); @@ -180,7 +180,7 @@ public class StorageClusterTest { StorFilestorConfig.Builder builder = new StorFilestorConfig.Builder(); stc.getConfig(builder); StorFilestorConfig config = new StorFilestorConfig(builder); - assertEquals(1, config.num_response_threads()); + assertEquals(2, config.num_response_threads()); assertEquals(7, config.num_threads()); } diff --git a/configdefinitions/src/vespa/stor-filestor.def b/configdefinitions/src/vespa/stor-filestor.def index 5335f4f162f..5fea913316a 100644 --- a/configdefinitions/src/vespa/stor-filestor.def +++ b/configdefinitions/src/vespa/stor-filestor.def @@ -29,7 +29,7 @@ num_threads int default=8 restart ## Number of threads for response processing and delivery ## 0 will give legacy sync behavior. ## Negative number will choose a good number based on # cores. -num_response_threads int default=1 +num_response_threads int default=2 ## When merging, if we find more than this number of documents that exist on all ## of the same copies, send a separate apply bucket diff with these entries |