fix(oracle): fix Pool Size parameter retrieval

Fixes https://emqx.atlassian.net/browse/EMQX-10599
This commit is contained in:
Paulo Zulato 2023-07-19 14:43:49 -03:00
parent 57e39f42c5
commit 85ab97970f
4 changed files with 5 additions and 2 deletions

View File

@ -479,6 +479,8 @@ t_create_via_http(Config) ->
end,
[]
),
ResourceId = resource_id(Config),
?assertMatch(1, length(ecpool:workers(ResourceId))),
ok.
t_start_stop(Config) ->

View File

@ -1,6 +1,6 @@
{application, emqx_oracle, [
{description, "EMQX Enterprise Oracle Database Connector"},
{vsn, "0.1.3"},
{vsn, "0.1.4"},
{registered, []},
{applications, [
kernel,

View File

@ -94,7 +94,7 @@ on_start(
{password, jamdb_secret:wrap(maps:get(password, Config, ""))},
{sid, emqx_utils_conv:str(Sid)},
{service_name, ServiceName},
{pool_size, maps:get(<<"pool_size">>, Config, ?DEFAULT_POOL_SIZE)},
{pool_size, maps:get(pool_size, Config, ?DEFAULT_POOL_SIZE)},
{timeout, ?OPT_TIMEOUT},
{app_name, "EMQX Data To Oracle Database Action"}
],

View File

@ -0,0 +1 @@
Fixed Pool Size value not being considered in Oracle Bridge.