summaryrefslogtreecommitdiff
path: root/etc/ychat.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ychat.conf')
-rw-r--r--etc/ychat.conf33
1 files changed, 14 insertions, 19 deletions
diff --git a/etc/ychat.conf b/etc/ychat.conf
index 0bdb3c1..b611678 100644
--- a/etc/ychat.conf
+++ b/etc/ychat.conf
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
-<config>
+<?xml version="5.0" encoding="ISO-8859-1" standalone="yes" ?>
<category name="chat">
<option name="defaultop">
<value>Snoop</value>
@@ -392,9 +391,6 @@
<option name="findingcommand">
<value>No such command!&lt;br&gt;</value>
</option>
- <option name="maxuserlimit">
- <value>You cant log in because the maxuser limit has been reached. Please try again later.&lt;br&gt;&lt;br&gt;</value>
- </option>
<option name="messagelength">
<value>Your message was too long and has been shortened!</value>
</option>
@@ -462,15 +458,15 @@
<category name="session">
<option name="md5hash">
<value>true</value>
- <descr>If set to true, then MD5 hash of the session id will be appended to the generated session to make the temp IDs even more secure.</descr>
+ <descr>If set to true, then the session id will be hashed by MD5 to make the id even more random</descr>
</option>
<option name="md5salt">
<value>tASDlkjadSD</value>
<descr>Some random string which will affect the md5-hash. Change this to another random string!</descr>
</option>
<option name="length">
- <value>32</value>
- <descr>Length of the generated session id. The length will be longer if md5hash is activated</descr>
+ <value>64</value>
+ <descr>Length of the generated session id. The length will be shorter if md5hash is activated</descr>
</option>
<option name="validchars">
<value>.abcdefghijklmnopqrstuvwxyz0123456789-_</value>
@@ -567,7 +563,7 @@
<descr>Specifies the relative or absolute path to the directory of the room log files</descr>
</option>
<option name="roomloglines">
- <value>0</value>
+ <value>20</value>
<descr>Number of room log lines which will be buffered in the main memory until they will be written into the file</descr>
</option>
</category>
@@ -589,10 +585,6 @@
<value>html/</value>
<descr>If set to false, yChat strips all html tags from incoming messages</descr>
</option>
- <option name="ipcachesize">
- <value>50</value>
- <descr>Specifies the IP cache size. If set to 0, the IP cache will be cleared every 10 minutes. Otherwise, the IP cache will be cleared every 10 minutes only if there are more IPs in the cache than the specified amount.</descr>
- </option>
<category name="html">
<option name="notfound">
<value>notfound.html</value>
@@ -601,12 +593,16 @@
</category>
<category name="thread">
<option name="initpoolsize">
- <value>10</value>
- <descr>Initial number of threads running at the same time. If there are less than 5 threads in the pool waiting, the thread pool will resize to 10.</descr>
+ <value>1</value>
+ <descr>Initial number of threads running at the same time. If all threads are used, the pool will allocate a new thread. Lowest value is 1.</descr>
</option>
<option name="maxpoolsize">
<value>0</value>
- <descr>Maximum amount of parallel running threads. Change this to 0 if you want to use unlimited threads. If you have set a number not equal to 0, then there have to be at least 2 waiting threads to allow a new user login. A maxpoolsize of 52 means a max user limit of 50 users.</descr>
+ <descr>Maximum amount of parallel running threads. Change this to 0 if you want to use unlimited threads.</descr>
+ </option>
+ <option name="queuesize">
+ <value>50</value>
+ <descr>Max. number of jobs which can wait for a free thread of the thread pool</descr>
</option>
</category>
<category name="stats">
@@ -649,11 +645,11 @@
<descr>Specifies the relative or absolute path to the system messsage log file</descr>
</option>
<option name="accesslines">
- <value>0</value>
+ <value>10</value>
<descr>Number of access log lines which will be buffered in the main memory until they will be written into the file</descr>
</option>
<option name="systemlines">
- <value>0</value>
+ <value>10</value>
<descr>Number of system log lines which will be buffered in the main memory until they will be written into the file</descr>
</option>
</category>
@@ -687,4 +683,3 @@
</option>
</category>
</category>
-</config>