From a01cb6ca122b15165a710e3b3725349a9f21ee6a Mon Sep 17 00:00:00 2001 From: Mansoor Sajjad Date: Mon, 5 Dec 2022 15:57:20 +0100 Subject: [PATCH] feat(defaults): add the option for configuring ES client batch size. (#139) Co-authored-by: mansoor.sajjad --- config/defaults.json | 3 ++- test/expected-deep.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/defaults.json b/config/defaults.json index 7745f0e..567cfd6 100644 --- a/config/defaults.json +++ b/config/defaults.json @@ -30,7 +30,8 @@ } }, "dbclient": { - "statFrequency": 10000 + "statFrequency": 10000, + "batchSize": 500 }, "api": { "accessLog": "common", diff --git a/test/expected-deep.json b/test/expected-deep.json index 78917f6..2676049 100644 --- a/test/expected-deep.json +++ b/test/expected-deep.json @@ -35,7 +35,8 @@ } }, "dbclient": { - "statFrequency": 10000 + "statFrequency": 10000, + "batchSize": 500 }, "api": { "accessLog": "common",