Skip to content

Commit

Permalink
Merge pull request emqx#10716 from thalesmg/fix-pulsar-health-check-d…
Browse files Browse the repository at this point in the history
…efault-r50

fix(pulsar): use a binary duration as default `health_check_interval`
  • Loading branch information
thalesmg authored May 16, 2023
2 parents f876bcb + cebde87 commit 4a034c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/emqx_bridge_pulsar/src/emqx_bridge_pulsar.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, emqx_bridge_pulsar, [
{description, "EMQX Pulsar Bridge"},
{vsn, "0.1.1"},
{vsn, "0.1.2"},
{registered, []},
{applications, [
kernel,
Expand Down
2 changes: 1 addition & 1 deletion apps/emqx_bridge_pulsar/src/emqx_bridge_pulsar.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4a034c7

Please sign in to comment.