diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-13 21:20:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-13 21:20:57 -0600 |
| commit | ab88d1eca9f1a36e6d8a95f9ba8f754cccc4bcf6 (patch) | |
| tree | 9b4822cedc284b57bd284efef12aa619c8110180 | |
| parent | 4840210789217841426e598e0b8641082d24f944 (diff) | |
| parent | abd17f77343568550c37f82a14d370d3c20a1d9a (diff) | |
| download | slskd-ab88d1eca9f1a36e6d8a95f9ba8f754cccc4bcf6.tar.gz | |
Merge pull request #264 from slskd/buffer
Reduce log buffer to 100
| -rw-r--r-- | src/slskd/Program.cs | 2 |
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"); |
