fix config

This commit is contained in:
anlicheng 2026-05-29 23:09:11 +08:00
parent 529d2ceeb1
commit 0ab0f822be
2 changed files with 3 additions and 3 deletions

View File

@ -23,14 +23,14 @@
{endpoint, [ {endpoint, [
{endpoints, [ {endpoints, [
{root_dir, "/usr/local/code/database/"}, {root_dir, "/var/lib/endpoint/database/"},
{support_protocols, [ {support_protocols, [
http http
]} ]}
]}, ]},
{endpoint_log, [ {endpoint_log, [
{path, "${endpoint_root}/endpoint_log/unmatched_publish.log"}, {path, "/var/lib/endpoint/endpoint_log/unmatched_publish.log"},
{max_bytes, 10485760}, {max_bytes, 10485760},
{max_files, 10} {max_files, 10}
]} ]}

View File

@ -5,7 +5,7 @@
+K true +K true
+A30 +A30
-mnesia dir '"/usr/local/var/mnesia/iot"' -mnesia dir '"/var/lib/iot/mnesia/"'
-mnesia dump_log_write_threshold 50000 -mnesia dump_log_write_threshold 50000
-mnesia dc_dump_limit 40 -mnesia dc_dump_limit 40