save saving increase

This commit is contained in:
Adam Hathcock
2024-12-20 10:01:46 +00:00
parent cf0dfe8ef8
commit 3b50c857fb
@@ -9,7 +9,7 @@ public abstract class ChannelLoader<T>
private static readonly TimeSpan HTTP_BATCH_TIMEOUT = TimeSpan.FromSeconds(2);
private static readonly int MAX_READ_CACHE_PARALLELISM = Environment.ProcessorCount;
private const int MAX_SAVE_CACHE_BATCH = 200;
private const int MAX_SAVE_CACHE_PARALLELISM = 1;
private const int MAX_SAVE_CACHE_PARALLELISM = 4;
protected async Task GetAndCache(IEnumerable<string> allChildrenIds, CancellationToken cancellationToken = default) =>
await allChildrenIds