1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-06-09 13:34:04 +02:00

Reduce InstanceProcess output ring buffer capacity

This commit is contained in:
chylex 2023-03-05 07:38:07 +01:00
parent f5b40a92e2
commit 267c5ad921
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -7,7 +7,7 @@ public sealed class InstanceProcess : IDisposable {
public InstanceProperties InstanceProperties { get; } public InstanceProperties InstanceProperties { get; }
public CancellableSemaphore BackupSemaphore { get; } = new (1, 1); public CancellableSemaphore BackupSemaphore { get; } = new (1, 1);
private readonly RingBuffer<string> outputBuffer = new (10000); private readonly RingBuffer<string> outputBuffer = new (100);
private event EventHandler<string>? OutputEvent; private event EventHandler<string>? OutputEvent;
public event EventHandler? Ended; public event EventHandler? Ended;