tweak twitter queries parallelism
This commit is contained in:
parent
f8d91cb64b
commit
014dee23a3
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue