diff --git a/apps/emqx_bridge_mongodb/src/emqx_bridge_mongodb.erl b/apps/emqx_bridge_mongodb/src/emqx_bridge_mongodb.erl index ba7be1ec4..71243fa26 100644 --- a/apps/emqx_bridge_mongodb/src/emqx_bridge_mongodb.erl +++ b/apps/emqx_bridge_mongodb/src/emqx_bridge_mongodb.erl @@ -74,6 +74,11 @@ fields("creation_opts") -> importance => ?IMPORTANCE_HIDDEN, converter => fun(_, _) -> 1 end, desc => ?DESC("batch_size") + }}, + {batch_time, #{ + importance => ?IMPORTANCE_HIDDEN, + converter => fun(_, _) -> 0 end, + desc => ?DESC("batch_size") }} ]); fields(action) -> @@ -102,6 +107,11 @@ fields(action_resource_opts) -> importance => ?IMPORTANCE_HIDDEN, converter => fun(_, _) -> 1 end, desc => ?DESC("batch_size") + }}, + {batch_time, #{ + importance => ?IMPORTANCE_HIDDEN, + converter => fun(_, _) -> 0 end, + desc => ?DESC("batch_size") }} ]); fields(resource_opts) ->