From 3b50c857fb9a9da3fbf8193d36b149d2e0d2cb72 Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Fri, 20 Dec 2024 10:01:46 +0000 Subject: [PATCH] save saving increase --- src/Speckle.Sdk.Dependencies/Serialization/ChannelLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Speckle.Sdk.Dependencies/Serialization/ChannelLoader.cs b/src/Speckle.Sdk.Dependencies/Serialization/ChannelLoader.cs index e9d6e729..5305adf1 100644 --- a/src/Speckle.Sdk.Dependencies/Serialization/ChannelLoader.cs +++ b/src/Speckle.Sdk.Dependencies/Serialization/ChannelLoader.cs @@ -9,7 +9,7 @@ public abstract class ChannelLoader 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 allChildrenIds, CancellationToken cancellationToken = default) => await allChildrenIds