Merge pull request #11316 from paulozulato/fix-oracle-pool-size

fix(oracle): fix Pool Size parameter retrieval
This commit is contained in:
Paulo Zulato 2023-07-21 17:51:21 -03:00 committed by GitHub
commit 31cf05ec66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

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

View File

@ -98,7 +98,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.