summaryrefslogtreecommitdiffhomepage
path: root/webchat.conf
diff options
context:
space:
mode:
Diffstat (limited to 'webchat.conf')
-rw-r--r--webchat.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/webchat.conf b/webchat.conf
new file mode 100644
index 0000000..2a08527
--- /dev/null
+++ b/webchat.conf
@@ -0,0 +1,34 @@
+<config>
+ <!--
+ datapath: location in filesystem to store webchat data
+ Example: /var/lib/webchat
+ -->
+ <datapath>/var/lib/webchat</datapath>
+
+ <!--
+ port: socket to listen on for websocket
+ Example: ::1:8767
+ -->
+ <port>::1:9015</port>
+
+ <!--
+ Maximum age of individual webchat pages in seconds.
+ Older pages will be removed by webchat-cleanup and crond.
+ Example: 2592000 (~30 days)
+ -->
+ <maxage>2592000</maxage>
+
+ <!--
+ Number of threads to use
+ Example: 4
+ -->
+ <threads>4</threads>
+
+ <!--
+ Maximum number of total concurrent websocket connections. Above this limit,
+ new connections will be rejected until old ones are closed.
+ Example: 500
+ Default: 1000
+ -->
+ <maxconnections>500</maxconnections>
+</config>