fix: fixes due to comments from @zmstone
This commit is contained in:
parent
cb3a5fdbd4
commit
1c7834e056
|
@ -305,7 +305,7 @@ fields(producer_kafka_opts) ->
|
|||
)},
|
||||
{sync_query_timeout,
|
||||
mk(
|
||||
emqx_schema:duration_ms(),
|
||||
emqx_schema:timeout_duration_ms(),
|
||||
#{
|
||||
default => <<"5s">>,
|
||||
desc => ?DESC(sync_query_timeout)
|
||||
|
|
|
@ -70,9 +70,8 @@
|
|||
|
||||
callback_mode() -> async_if_possible.
|
||||
|
||||
%% consumer bridges don't need resource workers
|
||||
query_mode(_Config) ->
|
||||
no_queries.
|
||||
simple_async.
|
||||
|
||||
-spec on_start(resource_id(), config()) -> {ok, state()}.
|
||||
on_start(InstanceId, Config) ->
|
||||
|
|
Loading…
Reference in New Issue