From 014dee23a35f8f901984ac45182e32409def1ffd Mon Sep 17 00:00:00 2001 From: Vincent Cloutier Date: Sun, 15 Jan 2023 09:24:30 -0500 Subject: [PATCH] tweak twitter queries parallelism --- .../Processors/RetrieveTweetsProcessor.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs b/src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs index a50f1d1..86924ce 100644 --- a/src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs +++ b/src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs @@ -64,10 +64,9 @@ namespace BirdsiteLive.Pipeline.Processors } }); todo.Add(t); - if (todo.Count > 3) + if (todo.Count > 5) { await Task.WhenAll(todo); - _logger.LogInformation(index + "/" + syncTwitterUsers.Count() ); todo.Clear(); //await Task.Delay(250); }