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:
Thales Macedo Garitezi 2024-06-25 11:06:20 -03:00 committed by GitHub
commit a2e8d49847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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(