update some magic numbers
This commit is contained in:
parent
2bf0cb6e06
commit
edec988e05
3 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ namespace BirdsiteLive.Domain
|
|||
var signature = _cryptoService.SignAndGetSignatureHeader(date, actorUrl, targetHost, digest, usedInbox);
|
||||
|
||||
var client = _httpClientFactory.CreateClient();
|
||||
client.Timeout = TimeSpan.FromSeconds(5);
|
||||
client.Timeout = TimeSpan.FromSeconds(2);
|
||||
var httpRequestMessage = new HttpRequestMessage
|
||||
{
|
||||
Method = HttpMethod.Post,
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace BirdsiteLive.Pipeline.Processors
|
|||
|
||||
try
|
||||
{
|
||||
var users = await _twitterUserDal.GetAllTwitterUsersWithFollowersAsync(500);
|
||||
var users = await _twitterUserDal.GetAllTwitterUsersWithFollowersAsync(2000);
|
||||
|
||||
var userCount = users.Any() ? Math.Min(users.Length, 50) : 1;
|
||||
var splitUsers = users.OrderBy(a => rng.Next()).ToArray().Split(userCount).ToList();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<UserSecretsId>d21486de-a812-47eb-a419-05682bb68856</UserSecretsId>
|
||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||
<Version>0.20.0</Version>
|
||||
<ThreadPoolMinThreads>10</ThreadPoolMinThreads>
|
||||
<ThreadPoolMinThreads>12</ThreadPoolMinThreads>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Reference in a new issue