From 294568a4d00d161a48f2a989cd47b13d763ed79f Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Wed, 8 Dec 2021 19:33:41 +0100 Subject: [PATCH] Use batch_size for pm async pool --- big_tests/tests/mam_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/big_tests/tests/mam_SUITE.erl b/big_tests/tests/mam_SUITE.erl index 59a4a31b99..c3a9194a6f 100644 --- a/big_tests/tests/mam_SUITE.erl +++ b/big_tests/tests/mam_SUITE.erl @@ -787,7 +787,7 @@ init_modules(elasticsearch, C, Config) -> init_modules(rdbms_async_pool, C, Config) -> init_module(host_type(), mod_mam, addin_mam_options(C, Config)), init_module(host_type(), mod_mam_rdbms_arch, [no_writer]), - init_module(host_type(), mod_mam_rdbms_arch_async, [{pm, [{flush_interval, 1}]}]), %% 1ms + init_module(host_type(), mod_mam_rdbms_arch_async, [{pm, [{flush_interval, 1}, {batch_size, 1}]}]), init_module(host_type(), mod_mam_rdbms_prefs, [pm]), init_module(host_type(), mod_mam_rdbms_user, [pm]), Config; @@ -807,7 +807,7 @@ init_modules(rdbms_cache, C, Config) -> init_modules(rdbms_async_cache, C, Config) -> init_module(host_type(), mod_mam, addin_mam_options(C, Config)), init_module(host_type(), mod_mam_rdbms_arch, [no_writer]), - init_module(host_type(), mod_mam_rdbms_arch_async, [{pm, [{flush_interval, 1}]}]), %% 1ms + init_module(host_type(), mod_mam_rdbms_arch_async, [{pm, [{flush_interval, 1}, {batch_size, 1}]}]), init_module(host_type(), mod_mam_rdbms_prefs, [pm]), init_module(host_type(), mod_mam_rdbms_user, [pm]), init_module(host_type(), mod_mam_cache_user, [pm]),