fix(resource): change how buffer workers are started
This commit is contained in:
parent
902b1d6ec5
commit
d6781efee2
|
@ -147,9 +147,9 @@ create(ResId, Group, ResourceType, Config, Opts) ->
|
|||
QueryMode = emqx_resource:query_mode(ResourceType, Config, Opts),
|
||||
case QueryMode of
|
||||
%% the resource has built-in buffer, so there is no need for resource workers
|
||||
simple_sync ->
|
||||
simple_sync_internal_buffer ->
|
||||
ok;
|
||||
simple_async ->
|
||||
simple_async_internal_buffer ->
|
||||
ok;
|
||||
%% The resource is a consumer resource, so there is no need for resource workers
|
||||
no_queries ->
|
||||
|
|
Loading…
Reference in New Issue