From c1cbb848a93ccdda43a3ea993c471c6cbeb4c37b Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Sat, 30 Mar 2024 07:25:55 +0100
Subject: [PATCH] Increase Agent buffer size for instance logs

---
 .../Phantom.Agent.Services/Instances/State/InstanceLogSender.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Agent/Phantom.Agent.Services/Instances/State/InstanceLogSender.cs b/Agent/Phantom.Agent.Services/Instances/State/InstanceLogSender.cs
index daac981..8aa63a6 100644
--- a/Agent/Phantom.Agent.Services/Instances/State/InstanceLogSender.cs
+++ b/Agent/Phantom.Agent.Services/Instances/State/InstanceLogSender.cs
@@ -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