1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-04-20 14:15:43 +02:00

Increase Agent buffer size for instance logs

This commit is contained in:
chylex 2024-03-30 07:25:55 +01:00
parent 9fcc3c53fc
commit c1cbb848a9
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -8,7 +8,7 @@ using Phantom.Utils.Tasks;
namespace Phantom.Agent.Services.Instances.State;
sealed class InstanceLogSender : CancellableBackgroundTask {
private static readonly BoundedChannelOptions BufferOptions = new (capacity: 64) {
private static readonly BoundedChannelOptions BufferOptions = new (capacity: 100) {
SingleReader = true,
SingleWriter = true,
FullMode = BoundedChannelFullMode.DropNewest