tweak twitter queries parallelism

This commit is contained in:
Vincent Cloutier 2023-01-15 09:24:30 -05:00
parent f8d91cb64b
commit 014dee23a3

View file

@ -64,10 +64,9 @@ namespace BirdsiteLive.Pipeline.Processors
} }
}); });
todo.Add(t); todo.Add(t);
if (todo.Count > 3) if (todo.Count > 5)
{ {
await Task.WhenAll(todo); await Task.WhenAll(todo);
_logger.LogInformation(index + "/" + syncTwitterUsers.Count() );
todo.Clear(); todo.Clear();
//await Task.Delay(250); //await Task.Delay(250);
} }