From bdf058ab5c936463a022f62ffbb55bb71c26e856 Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 12 Mar 2025 19:52:15 +0100 Subject: More work --- MatrixContentFilter/appsettings.Development.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'MatrixContentFilter/appsettings.Development.json') diff --git a/MatrixContentFilter/appsettings.Development.json b/MatrixContentFilter/appsettings.Development.json index 29f9c88..b01a410 100644 --- a/MatrixContentFilter/appsettings.Development.json +++ b/MatrixContentFilter/appsettings.Development.json @@ -15,10 +15,26 @@ "Prefix": "?" }, "MatrixContentFilter": { + // App mode: bot or appservice + "AppMode": "bot", + // whether to use LiFo or FiFo for task queuing + "AsyncQueueImplementation": "lifo", // List of people who should be invited to the control room "Admins": [ "@emma:conduit.rory.gay", "@emma:rory.gay" - ] + ], + // The maximum number of redactions that can be performed concurrently + "ConcurrencyLimits": { + "Redactions": 2, + "LogMessages": 2 + }, + // Whether bot mode should be ammended with a cronjob to check for missed events + // Keep in mind this may add a lot of load to the server + "SanityCheck": { + "Enabled": false, + "MaxConcurrency": 1, + "Interval": "00:05:00" + } } } -- cgit 1.5.1