Skip to content

Commit

Permalink
Use batch_size for pm async pool
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Dec 8, 2021
1 parent ee83696 commit 294568a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions big_tests/tests/mam_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]),
Expand Down

0 comments on commit 294568a

Please sign in to comment.