Skip to content

Commit 7246f1a

Browse files
committed
infra: attempt to improve twitch bot
1 parent 35cf9df commit 7246f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TTX.Infrastructure/Twitch/Chat/BotContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class BotContainer(IServiceScopeFactory _scopeFactory)
88
public event EventHandler<Message>? OnMessage;
99
private readonly List<TwitchBot> _bots = [];
1010
public readonly List<Task> RunTasks = [];
11-
private const int CHUNK = 1_000;
11+
private const int CHUNK = 100;
1212
private readonly SemaphoreSlim _lock = new(1, 1);
1313

1414
public int BotCount => _bots.Select(b => b.IsConnected).Count();

0 commit comments

Comments
 (0)