Merge pull request #10716 from thalesmg/fix-pulsar-health-check-default-r50

fix(pulsar): use a binary duration as default `health_check_interval`
This commit is contained in:
Thales Macedo Garitezi 2023-05-16 16:17:56 -03:00 committed by GitHub
commit 4a034c70bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_bridge_pulsar, [
{description, "EMQX Pulsar Bridge"},
{vsn, "0.1.1"},
{vsn, "0.1.2"},
{registered, []},
{applications, [
kernel,

View File

@ -140,7 +140,7 @@ fields(producer_resource_opts) ->
lists:filtermap(
fun
({health_check_interval = Field, MetaFn}) ->
{true, {Field, override_default(MetaFn, 1_000)}};
{true, {Field, override_default(MetaFn, <<"1s">>)}};
({Field, _Meta}) ->
lists:member(Field, SupportedOpts)
end,