Merge pull request #11316 from paulozulato/fix-oracle-pool-size
fix(oracle): fix Pool Size parameter retrieval
This commit is contained in:
commit
31cf05ec66
|
@ -482,6 +482,8 @@ t_create_via_http(Config) ->
|
||||||
end,
|
end,
|
||||||
[]
|
[]
|
||||||
),
|
),
|
||||||
|
ResourceId = resource_id(Config),
|
||||||
|
?assertMatch(1, length(ecpool:workers(ResourceId))),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
t_start_stop(Config) ->
|
t_start_stop(Config) ->
|
||||||
|
|
|
@ -98,7 +98,7 @@ on_start(
|
||||||
{password, jamdb_secret:wrap(maps:get(password, Config, ""))},
|
{password, jamdb_secret:wrap(maps:get(password, Config, ""))},
|
||||||
{sid, emqx_utils_conv:str(Sid)},
|
{sid, emqx_utils_conv:str(Sid)},
|
||||||
{service_name, ServiceName},
|
{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},
|
{timeout, ?OPT_TIMEOUT},
|
||||||
{app_name, "EMQX Data To Oracle Database Action"}
|
{app_name, "EMQX Data To Oracle Database Action"}
|
||||||
],
|
],
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fixed Pool Size value not being considered in Oracle Bridge.
|
Loading…
Reference in New Issue