refactor: default mqtt bridgge buffer pool size down to 4

This commit is contained in:
Zaiming (Stone) Shi 2022-12-19 23:59:46 +01:00
parent f611cbab45
commit c085ffa0fe
1 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,9 @@ default_resource_opts() ->
<<"health_check_interval">> => <<"15s">>,
<<"max_queue_bytes">> => <<"1GB">>,
<<"query_mode">> => <<"sync">>,
<<"worker_pool_size">> => 16
%% there is only one underlying MQTT connection
%% doesn't make a lot of sense to have a large pool
<<"worker_pool_size">> => 4
}.
egress(Config) ->