fix config
This commit is contained in:
parent
529d2ceeb1
commit
0ab0f822be
@ -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}
|
||||||
]}
|
]}
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user