Merge pull request #13328 from thalesmg/fix-greptime-grpcbox-opts-r57-20240624
fix(greptime): correctly define grpc options for `grpcbox_channel`
This commit is contained in:
commit
a2e8d49847
|
@ -1,6 +1,6 @@
|
||||||
{application, emqx_bridge_greptimedb, [
|
{application, emqx_bridge_greptimedb, [
|
||||||
{description, "EMQX GreptimeDB Bridge"},
|
{description, "EMQX GreptimeDB Bridge"},
|
||||||
{vsn, "0.2.0"},
|
{vsn, "0.2.1"},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{applications, [
|
{applications, [
|
||||||
kernel,
|
kernel,
|
||||||
|
|
|
@ -359,7 +359,7 @@ do_start_client(
|
||||||
{error, Reason}
|
{error, Reason}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
grpc_config() ->
|
grpc_opts() ->
|
||||||
#{
|
#{
|
||||||
sync_start => true,
|
sync_start => true,
|
||||||
connect_timeout => ?CONNECT_TIMEOUT
|
connect_timeout => ?CONNECT_TIMEOUT
|
||||||
|
@ -378,7 +378,7 @@ client_config(
|
||||||
{pool, InstId},
|
{pool, InstId},
|
||||||
{pool_type, random},
|
{pool_type, random},
|
||||||
{auto_reconnect, ?AUTO_RECONNECT_S},
|
{auto_reconnect, ?AUTO_RECONNECT_S},
|
||||||
{gprc_options, grpc_config()}
|
{grpc_opts, grpc_opts()}
|
||||||
] ++ protocol_config(Config).
|
] ++ protocol_config(Config).
|
||||||
|
|
||||||
protocol_config(
|
protocol_config(
|
||||||
|
|
Loading…
Reference in New Issue