magic numbers update

This commit is contained in:
Vincent Cloutier 2023-01-20 14:54:37 -05:00
parent bd46afa350
commit 5f60a96494
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ namespace BirdsiteLive.Domain
var signature = _cryptoService.SignAndGetSignatureHeader(date, actorUrl, targetHost, digest, usedInbox);
var client = _httpClientFactory.CreateClient();
client.Timeout = TimeSpan.FromSeconds(10);
client.Timeout = TimeSpan.FromSeconds(5);
var httpRequestMessage = new HttpRequestMessage
{
Method = HttpMethod.Post,

View file

@ -35,7 +35,7 @@ namespace BirdsiteLive.Twitter.Tools
_logger = logger;
aTimer = new System.Timers.Timer();
aTimer.Interval = 2 * 60 * 1000;
aTimer.Interval = 45 * 1000;
aTimer.Elapsed += async (sender, e) => await RefreshCred();
aTimer.Start();