Преглед изворни кода

chore(dsraft): fix a typespec

Andrew Mayorov пре 1 година
родитељ
комит
b0594271b2
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer.erl

+ 4 - 1
apps/emqx_ds_builtin_raft/src/emqx_ds_replication_layer.erl

@@ -101,7 +101,10 @@
         n_shards => pos_integer(),
         n_sites => pos_integer(),
         replication_factor => pos_integer(),
-        replication_options => _TODO :: #{}
+        replication_options => _TODO :: #{},
+        %% Inherited from `emqx_ds:generic_db_opts()`.
+        force_monotonic_timestamps => boolean(),
+        atomic_batches => boolean()
     }.
 
 %% This enapsulates the stream entity from the replication level.