resp协议定义, xml定义配置文件
This commit is contained in:
26
config/config.xml
Normal file
26
config/config.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<config>
|
||||
<server>
|
||||
<ip>127.0.0.1</ip>
|
||||
<port>8888</port>
|
||||
<mode>master</mode> <!-- master / slave -->
|
||||
|
||||
<!-- 仅当 mode=slave 时使用 -->
|
||||
<master>
|
||||
<ip>192.168.10.129</ip>
|
||||
<port>8888</port>
|
||||
</master>
|
||||
</server>
|
||||
|
||||
<log>
|
||||
<level>INFO</level> <!-- DEBUG / INFO / ERROR -->
|
||||
</log>
|
||||
|
||||
<persistence>
|
||||
<type>none</type> <!-- incremental / none -->
|
||||
</persistence>
|
||||
|
||||
<memory>
|
||||
<allocator>jemalloc</allocator> <!-- jemalloc / malloc / other -->
|
||||
</memory>
|
||||
</config>
|
||||
Reference in New Issue
Block a user