fix(greptime): correctly define grpc options for `grpcbox_channel`
Will probably fix CI flakiness.
This commit is contained in:
parent
14e2ed7be1
commit
1a497bcaf2
|
@ -1,6 +1,6 @@
|
|||
{application, emqx_bridge_greptimedb, [
|
||||
{description, "EMQX GreptimeDB Bridge"},
|
||||
{vsn, "0.2.0"},
|
||||
{vsn, "0.2.1"},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue