fix: delete enable_batch from redis bridge

This commit is contained in:
Zhongwen Deng 2023-02-02 16:55:11 +08:00
parent 22c3f50020
commit e776751860
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ resource_creation_fields("redis_cluster") ->
% TODO
% Cluster bridge is currently incompatible with batching.
Fields = emqx_resource_schema:fields("creation_opts_sync_only"),
lists:foldl(fun proplists:delete/2, Fields, [batch_size, batch_time]);
lists:foldl(fun proplists:delete/2, Fields, [batch_size, batch_time, enable_batch]);
resource_creation_fields(_) ->
emqx_resource_schema:fields("creation_opts_sync_only").