From 044e40d30809221817235168754cf2a15400e5ea Mon Sep 17 00:00:00 2001 From: Nick Hynes Date: Thu, 27 Feb 2020 22:27:26 +0000 Subject: [PATCH] Increase scheduler max batch size --- .changelog/2741.bugfix.md | 3 +++ go/oasis-net-runner/fixtures/default.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/2741.bugfix.md diff --git a/.changelog/2741.bugfix.md b/.changelog/2741.bugfix.md new file mode 100644 index 00000000000..00c9c6f2ab7 --- /dev/null +++ b/.changelog/2741.bugfix.md @@ -0,0 +1,3 @@ +Increase scheduler max batch size to 16 MiB + +This change facilitates RPCs to larger, more featureful runtimes. diff --git a/go/oasis-net-runner/fixtures/default.go b/go/oasis-net-runner/fixtures/default.go index 6445ae686b5..5930c7e5940 100644 --- a/go/oasis-net-runner/fixtures/default.go +++ b/go/oasis-net-runner/fixtures/default.go @@ -96,7 +96,7 @@ func NewDefaultFixture() (*oasis.NetworkFixture, error) { Algorithm: registry.TxnSchedulerAlgorithmBatching, GroupSize: 2, MaxBatchSize: 1, - MaxBatchSizeBytes: 1000, + MaxBatchSizeBytes: 16 * 1024 * 1024, // 16 MiB BatchFlushTimeout: 20 * time.Second, }, Storage: registry.StorageParameters{