Browse Source

chore(persistent_sessions): tune mnesia parameters for better dump behavior

Tobias Lindahl 4 years atrás
parent
commit
1f13a6caad
2 changed files with 8 additions and 0 deletions
  1. 4 0
      apps/emqx/etc/emqx_cloud/vm.args
  2. 4 0
      apps/emqx/etc/emqx_edge/vm.args

+ 4 - 0
apps/emqx/etc/emqx_cloud/vm.args

@@ -116,3 +116,7 @@
 
 ## patches dir
 -pa {{ platform_data_dir }}/patches
+
+## Mnesia thresholds
+-mnesia dump_log_write_threshold 5000
+-mnesia dump_log_time_threshold 60000

+ 4 - 0
apps/emqx/etc/emqx_edge/vm.args

@@ -114,3 +114,7 @@
 
 ## patches dir
 -pa {{ platform_data_dir }}/patches
+
+## Mnesia thresholds
+-mnesia dump_log_write_threshold 5000
+-mnesia dump_log_time_threshold 60000