magic numbers update
This commit is contained in:
parent
bd46afa350
commit
5f60a96494
2 changed files with 2 additions and 2 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(10);
|
||||
client.Timeout = TimeSpan.FromSeconds(5);
|
||||
var httpRequestMessage = new HttpRequestMessage
|
||||
{
|
||||
Method = HttpMethod.Post,
|
||||
|
|
|
@ -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();
|
||||
|
|
Reference in a new issue