fix(greptime): correctly define grpc options for `grpcbox_channel`

Will probably fix CI flakiness.
This commit is contained in:
Thales Macedo Garitezi 2024-06-24 17:17:52 -03:00
parent 14e2ed7be1
commit 1a497bcaf2
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_bridge_greptimedb, [
{description, "EMQX GreptimeDB Bridge"},
{vsn, "0.2.0"},
{vsn, "0.2.1"},
{registered, []},
{applications, [
kernel,

View File

@ -359,7 +359,7 @@ do_start_client(
{error, Reason}
end.
grpc_config() ->
grpc_opts() ->
#{
sync_start => true,
connect_timeout => ?CONNECT_TIMEOUT
@ -378,7 +378,7 @@ client_config(
{pool, InstId},
{pool_type, random},
{auto_reconnect, ?AUTO_RECONNECT_S},
{gprc_options, grpc_config()}
{grpc_opts, grpc_opts()}
] ++ protocol_config(Config).
protocol_config(