Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replace old sys.config.

  • Loading branch information...
commit dabb7db67d8f4a47b0938659dad724904da241d2 1 parent 5668ad0
@aeden aeden authored
Showing with 33 additions and 28 deletions.
  1. +33 −28 rel/files/sys.config
View
61 rel/files/sys.config
@@ -1,30 +1,35 @@
[
- %% SASL config
- {sasl, [
- {sasl_error_logger, {file, "log/sasl-error.log"}},
- {errlog_type, error},
- {error_logger_mf_dir, "log/sasl"}, % Log directory
- {error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
- {error_logger_mf_maxfiles, 5} % 5 files max
- ]},
- {mysql,[
- {pools, [
- {dns_pool, [
- {size, 10},
- {max_overflow, 20},
- {host, "localhost"},
- {port, 3306},
- {database, "erldns"},
- {user, "root"},
- {password, ""},
- {encoding, utf8}]
- }
- ]
- }]
- },
- {erldns,[
- {port, 53},
- {responders, [erldns_mysql_responder]}
- ]}
-].
+%% SASL config
+{sasl, [
+ {sasl_error_logger, {file, "log/sasl-error.log"}},
+ {errlog_type, error},
+ {error_logger_mf_dir, "log/sasl"}, % Log directory
+ {error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
+ {error_logger_mf_maxfiles, 5} % 5 files max
+ ]},
+{erldns,[
+ {port, 53},
+ {inet4, "127.0.0.1"},
+ {inet6, "::1"},
+ {catch_exceptions, false},
+ {pools, [
+ {tcp_worker_pool, [
+ {size, 10},
+ {max_overflow, 20}
+ ]},
+ {udp_worker_pool, [
+ {size, 10},
+ {max_overflow, 20}
+ ]}
+ ]}
+ ]},
+{lager, [
+ {handlers, [
+ {lager_console_backend, info},
+ {lager_file_backend, [
+ {"log/console.log", debug, 104857600, "$D0", 5}
+ ]}
+ ]}
+ ]}
+ ].
Please sign in to comment.
Something went wrong with that request. Please try again.