summaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-10 19:34:47 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-10 19:34:47 +0100
commit00f02b19ad8ce2f8f0195d3610e06566bf68cd0c (patch)
treebf35dbcd980505ba9bc3404edb0921966b51cecf /debian
parentcba42916126a1baed33a6f122a5301982993d344 (diff)
Added connection limit
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/whiteboard.conf8
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d773faf..c0cb704 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+whiteboard (1.8) UNRELEASED; urgency=medium
+
+ * Added config.maxconnections, defaults to 1000
+
+ -- Roland Reichwein <mail@reichwein.it> Fri, 10 Feb 2023 19:18:16 +0100
+
whiteboard (1.7) unstable; urgency=medium
* Fix crash on stats.html page reload/close
diff --git a/debian/whiteboard.conf b/debian/whiteboard.conf
index 126bef5..6446d39 100644
--- a/debian/whiteboard.conf
+++ b/debian/whiteboard.conf
@@ -23,4 +23,12 @@
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>