aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-13 21:20:57 -0600
committerGitHub <noreply@github.com>2021-11-13 21:20:57 -0600
commitab88d1eca9f1a36e6d8a95f9ba8f754cccc4bcf6 (patch)
tree9b4822cedc284b57bd284efef12aa619c8110180 /src
parent4840210789217841426e598e0b8641082d24f944 (diff)
parentabd17f77343568550c37f82a14d370d3c20a1d9a (diff)
downloadslskd-ab88d1eca9f1a36e6d8a95f9ba8f754cccc4bcf6.tar.gz
Merge pull request #264 from slskd/buffer
Reduce log buffer to 100
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 2403dbbf..4c772772 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -134,7 +134,7 @@ namespace slskd
/// <summary>
/// Gets a buffer containing the last few log events.
/// </summary>
- public static ConcurrentFixedSizeQueue<LogRecord> LogBuffer { get; } = new ConcurrentFixedSizeQueue<LogRecord>(size: 500);
+ public static ConcurrentFixedSizeQueue<LogRecord> LogBuffer { get; } = new ConcurrentFixedSizeQueue<LogRecord>(size: 100);
private static IConfigurationRoot Configuration { get; set; }
private static string ConfigurationFile => Path.Combine(AppDirectory, $"{AppName}.yml");