From 41b14d6621e2579edf55ccf83ca563cb31d09a2d Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 26 Mar 2025 11:43:17 +0100 Subject: Simplify invite store, use multiple threads for evaluating policies to scale beyond unreasonable policy counts --- MatrixAntiDmSpam/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MatrixAntiDmSpam/Program.cs') diff --git a/MatrixAntiDmSpam/Program.cs b/MatrixAntiDmSpam/Program.cs index e81cd58..e3eb037 100644 --- a/MatrixAntiDmSpam/Program.cs +++ b/MatrixAntiDmSpam/Program.cs @@ -8,12 +8,11 @@ var builder = Host.CreateApplicationBuilder(args); builder.Services.AddSingleton(); builder.Services.AddRoryLibMatrixServices() .AddMatrixBot() - .WithInviteHandler(); + .WithInviteHandler(); builder.Services.AddHostedService(); builder.Services.AddHostedService(); -builder.Services.AddSingleton(); builder.Services.AddSingleton(); MatrixHttpClient.LogRequests = false; -- cgit 1.5.1